pub enum AttemptLoopEvent {
Token(String),
ToolCall {
id: String,
name: String,
},
ToolDelta {
call_id: String,
name: String,
chunk: ToolChunk,
},
ToolSuspend {
call_id: String,
name: String,
suspension_id: String,
payload: Option<Value>,
},
ToolResult {
call_id: String,
content: String,
is_error: bool,
},
WorkflowNodesSubmitted(Vec<WorkflowNode>),
BodyError(String),
Judging {
attempt: u32,
},
Retrying {
attempt: u32,
verdict: Verdict,
},
Completed(AttemptOutcome),
}Variants§
Token(String)
ToolCall
ToolDelta
ToolSuspend
ToolResult
WorkflowNodesSubmitted(Vec<WorkflowNode>)
BodyError(String)
Judging
Retrying
Completed(AttemptOutcome)
Trait Implementations§
Source§impl Clone for AttemptLoopEvent
impl Clone for AttemptLoopEvent
Source§fn clone(&self) -> AttemptLoopEvent
fn clone(&self) -> AttemptLoopEvent
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 moreAuto Trait Implementations§
impl Freeze for AttemptLoopEvent
impl RefUnwindSafe for AttemptLoopEvent
impl Send for AttemptLoopEvent
impl Sync for AttemptLoopEvent
impl Unpin for AttemptLoopEvent
impl UnsafeUnpin for AttemptLoopEvent
impl UnwindSafe for AttemptLoopEvent
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