pub struct CompleteTaskStrategy;Trait Implementations§
Source§impl Default for CompleteTaskStrategy
impl Default for CompleteTaskStrategy
Source§fn default() -> CompleteTaskStrategy
fn default() -> CompleteTaskStrategy
Returns the “default value” for a type. Read more
Source§impl<UI: UserInteraction + 'static> Strategy<UI> for CompleteTaskStrategy
impl<UI: UserInteraction + 'static> Strategy<UI> for CompleteTaskStrategy
fn name(&self) -> &'static str
fn initialize_interaction( &mut self, state: &mut AgentState, ) -> Result<NextStep, AgentError>
fn process_api_response( &mut self, state: &mut AgentState, response: ApiResponse, ) -> Result<NextStep, AgentError>
fn process_tool_results( &mut self, state: &mut AgentState, results: Vec<ToolResult>, ) -> Result<NextStep, AgentError>
fn process_delegation_result( &mut self, _state: &mut AgentState, _result: DelegationResult, ) -> Result<NextStep, AgentError>
Auto Trait Implementations§
impl Freeze for CompleteTaskStrategy
impl RefUnwindSafe for CompleteTaskStrategy
impl Send for CompleteTaskStrategy
impl Sync for CompleteTaskStrategy
impl Unpin for CompleteTaskStrategy
impl UnsafeUnpin for CompleteTaskStrategy
impl UnwindSafe for CompleteTaskStrategy
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