Skip to main content

ChunkAgentRefs

Trait ChunkAgentRefs 

Source
pub trait ChunkAgentRefs {
    // Required method
    fn collect_agent_refs(&self, out: &mut Vec<(String, AgentRefValue)>);
}
Expand description

Chunks that can surface (AIH, definition source) pairs for the objectiveai.agent_refs registry: every nested agent completion carrying agent_inline (each completion’s FIRST chunk). Per the registry’s rule, agent_remote present → the remote wins; otherwise the inline spec itself.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ChunkAgentRefs for AgentCompletionChunk

Source§

impl ChunkAgentRefs for FunctionExecutionChunk

Source§

impl ChunkAgentRefs for VectorCompletionChunk

Implementors§