pub enum InitialHistory {
New,
Forked(Vec<Value>),
Resumed {
conversation_id: String,
history: Vec<Value>,
rollout_path: PathBuf,
},
}Expand description
How a new thread’s conversation history is initialized.
Variants§
New
Start with an empty conversation.
Forked(Vec<Value>)
Forked from an existing thread with the given history items.
Resumed
Resumed from a persisted thread with its full history.
Trait Implementations§
Source§impl Clone for InitialHistory
impl Clone for InitialHistory
Auto Trait Implementations§
impl Freeze for InitialHistory
impl RefUnwindSafe for InitialHistory
impl Send for InitialHistory
impl Sync for InitialHistory
impl Unpin for InitialHistory
impl UnsafeUnpin for InitialHistory
impl UnwindSafe for InitialHistory
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