pub struct StandardDriver;Expand description
Protocol driver for the Standard protocol. Consumes native
tool-call envelopes from the LLM, dispatches them via
DriverAction::StartTools, and splices reasoning parts into the
assistant message so provider replay metadata preserves
chain-of-thought ordering.
Trait Implementations§
Source§impl ProtocolDriverHandle<HostTurnProtocol> for StandardDriver
impl ProtocolDriverHandle<HostTurnProtocol> for StandardDriver
fn prepare_protocol_iteration( &self, ctx: DriverContextView<'_>, ) -> Vec<DriverAction> ⓘ
fn handle_llm_success( &self, ctx: DriverContextView<'_>, _waiting: WaitingLlmState<HostTurnProtocol>, llm_response: LlmResponse, text_streamed: bool, ) -> Vec<DriverAction> ⓘ
fn handle_tool_results( &self, ctx: DriverContextView<'_>, completed: Vec<CompletedToolCall>, ) -> Vec<DriverAction> ⓘ
fn handle_exec_result( &self, _ctx: DriverContextView<'_>, _waiting: WaitingExecState<HostTurnProtocol>, _result: Result<ExecResponse, String>, ) -> Vec<DriverAction> ⓘ
Auto Trait Implementations§
impl Freeze for StandardDriver
impl RefUnwindSafe for StandardDriver
impl Send for StandardDriver
impl Sync for StandardDriver
impl Unpin for StandardDriver
impl UnsafeUnpin for StandardDriver
impl UnwindSafe for StandardDriver
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