pub struct TurnUpdate {
pub context: Option<Vec<AgentMessage>>,
}Expand description
Optional return value from prepare_next_turn to modify context for the next turn.
Fields§
§context: Option<Vec<AgentMessage>>Replace the full message context for the next LLM call.
Auto Trait Implementations§
impl Freeze for TurnUpdate
impl RefUnwindSafe for TurnUpdate
impl Send for TurnUpdate
impl Sync for TurnUpdate
impl Unpin for TurnUpdate
impl UnsafeUnpin for TurnUpdate
impl UnwindSafe for TurnUpdate
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