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
Auto 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