pub enum CoreEvent {
AssistantDelta {
content: String,
},
AssistantCompleted {
content: String,
},
ToolProposed {
call_id: String,
name: String,
arguments: Value,
},
ToolStarted {
call_id: String,
name: String,
},
ToolCompleted {
call_id: String,
name: String,
output: ToolOutput,
},
ContextCompacted {
before_tokens: usize,
after_tokens: usize,
removed_messages: usize,
},
SessionTrimmed {
removed_messages: usize,
history_bytes: usize,
},
}Variants§
AssistantDelta
AssistantCompleted
ToolProposed
ToolStarted
ToolCompleted
ContextCompacted
SessionTrimmed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreEvent
impl RefUnwindSafe for CoreEvent
impl Send for CoreEvent
impl Sync for CoreEvent
impl Unpin for CoreEvent
impl UnsafeUnpin for CoreEvent
impl UnwindSafe for CoreEvent
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