pub struct AgentStep {
pub response: Response,
pub tool_calls: Vec<ToolCall>,
pub tool_results: Vec<Message>,
}Expand description
Data record of one LLM round (one model call + tool dispatch).
Fields§
§response: ResponseThe model’s response for this step.
tool_calls: Vec<ToolCall>Tool calls made in this step (if any).
tool_results: Vec<Message>Results from tool executions as messages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentStep
impl RefUnwindSafe for AgentStep
impl Send for AgentStep
impl Sync for AgentStep
impl Unpin for AgentStep
impl UnsafeUnpin for AgentStep
impl UnwindSafe for AgentStep
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