pub struct AgentLoopTurnUpdate {
pub context: Option<AgentContext>,
pub messages: Option<Vec<AgentMessage>>,
pub model: Option<Model>,
pub thinking_level: Option<ThinkingLevel>,
}Expand description
The agent loop turn update record.
Fields§
§context: Option<AgentContext>Replacement context.
messages: Option<Vec<AgentMessage>>Messages to add before the next request.
model: Option<Model>Replacement model.
thinking_level: Option<ThinkingLevel>Replacement thinking level.
Trait Implementations§
Source§impl Clone for AgentLoopTurnUpdate
impl Clone for AgentLoopTurnUpdate
Source§impl Debug for AgentLoopTurnUpdate
impl Debug for AgentLoopTurnUpdate
Auto Trait Implementations§
impl !RefUnwindSafe for AgentLoopTurnUpdate
impl !UnwindSafe for AgentLoopTurnUpdate
impl Freeze for AgentLoopTurnUpdate
impl Send for AgentLoopTurnUpdate
impl Sync for AgentLoopTurnUpdate
impl Unpin for AgentLoopTurnUpdate
impl UnsafeUnpin for AgentLoopTurnUpdate
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