pub struct FollowUpContext {
pub pending_conversation_messages: Option<Vec<ChatMessage>>,
pub pending_instructions: Option<String>,
}Expand description
Information needed to persist a completed turn for subsequent
previous_response_id lookups.
Fields§
§pending_conversation_messages: Option<Vec<ChatMessage>>Conversation messages collected before the upstream response (so the assistant reply can be appended to them and stored).
pending_instructions: Option<String>Effective instructions used for this turn (after history expansion).
Trait Implementations§
Source§impl Debug for FollowUpContext
impl Debug for FollowUpContext
Source§impl Default for FollowUpContext
impl Default for FollowUpContext
Source§fn default() -> FollowUpContext
fn default() -> FollowUpContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FollowUpContext
impl RefUnwindSafe for FollowUpContext
impl Send for FollowUpContext
impl Sync for FollowUpContext
impl Unpin for FollowUpContext
impl UnsafeUnpin for FollowUpContext
impl UnwindSafe for FollowUpContext
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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