pub struct AgentLoopResult {
pub final_content: String,
pub messages: Vec<ChatMessage>,
pub total_tokens: u64,
pub iterations: usize,
pub tool_calls_count: usize,
}Fields§
§final_content: String§messages: Vec<ChatMessage>§total_tokens: u64§iterations: usize§tool_calls_count: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for AgentLoopResult
impl RefUnwindSafe for AgentLoopResult
impl Send for AgentLoopResult
impl Sync for AgentLoopResult
impl Unpin for AgentLoopResult
impl UnsafeUnpin for AgentLoopResult
impl UnwindSafe for AgentLoopResult
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