pub enum AgentLoopOutput {
Response(AgentRunResult),
CommandOutput(String),
Quit,
}Expand description
Output from the agent loop after processing a single input.
Variants§
Response(AgentRunResult)
A response from the LLM pipeline (normal conversation).
CommandOutput(String)
A deterministic command response (no LLM involved).
Quit
The user requested to quit the session.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentLoopOutput
impl RefUnwindSafe for AgentLoopOutput
impl Send for AgentLoopOutput
impl Sync for AgentLoopOutput
impl Unpin for AgentLoopOutput
impl UnsafeUnpin for AgentLoopOutput
impl UnwindSafe for AgentLoopOutput
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