pub enum AgentObservation {
Progress {
status: String,
},
CompanionText {
content: String,
append: bool,
},
ToolStarted {
call_id: String,
tool_name: String,
},
ToolResult {
call_id: String,
tool_name: String,
result: Value,
is_error: bool,
},
ToolCallsScheduled {
tool_names: Vec<String>,
},
ToolCallsCompleted {
count: u32,
},
DebugData {
scope: String,
payload: Value,
},
}Expand description
Best-effort, request-scoped observation that is not part of the durable outbox.
Variants§
Progress
Coarse progress for live presentation.
CompanionText
Temporary assistant text emitted before a tool batch.
Fields
ToolStarted
A tool attempt is starting.
ToolResult
A tool attempt produced a result.
Fields
ToolCallsScheduled
A validated model tool-call batch has been checkpointed for execution.
ToolCallsCompleted
A tool batch completed and its results are available to the next model step.
DebugData
Optional diagnostic payload requested by the caller.
Trait Implementations§
Source§impl Clone for AgentObservation
impl Clone for AgentObservation
Source§fn clone(&self) -> AgentObservation
fn clone(&self) -> AgentObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentObservation
impl Debug for AgentObservation
Source§impl<'de> Deserialize<'de> for AgentObservation
impl<'de> Deserialize<'de> for AgentObservation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AgentObservation
impl PartialEq for AgentObservation
Source§impl Serialize for AgentObservation
impl Serialize for AgentObservation
impl StructuralPartialEq for AgentObservation
Auto Trait Implementations§
impl Freeze for AgentObservation
impl RefUnwindSafe for AgentObservation
impl Send for AgentObservation
impl Sync for AgentObservation
impl Unpin for AgentObservation
impl UnsafeUnpin for AgentObservation
impl UnwindSafe for AgentObservation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more