pub struct Conversation<'a> {
pub instructions: Cow<'a, [InstructionBlock]>,
pub messages: Cow<'a, [Message]>,
}Expand description
A temporary conversation view groups native items without changing the request.
Fields§
§instructions: Cow<'a, [InstructionBlock]>Instructions include native inline system and developer messages.
messages: Cow<'a, [Message]>Reasoning and parallel tool calls share their original assistant turn.
Auto Trait Implementations§
impl<'a> Freeze for Conversation<'a>
impl<'a> RefUnwindSafe for Conversation<'a>
impl<'a> Send for Conversation<'a>
impl<'a> Sync for Conversation<'a>
impl<'a> Unpin for Conversation<'a>
impl<'a> UnsafeUnpin for Conversation<'a>
impl<'a> UnwindSafe for Conversation<'a>
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