pub enum ViewMode {
Focus,
Default,
Unknown(String),
}Expand description
The session’s transcript view, carried as InitMessage::view_mode
(CLI 2.1.281+).
Variants§
Focus
The model is told the user sees only its final message per turn, so clients may collapse each turn to the prompt and the final response.
Default
The ordinary full transcript.
Unknown(String)
A mode not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewMode
impl<'de> Deserialize<'de> for ViewMode
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ViewMode
impl StructuralPartialEq for ViewMode
Auto Trait Implementations§
impl Freeze for ViewMode
impl RefUnwindSafe for ViewMode
impl Send for ViewMode
impl Sync for ViewMode
impl Unpin for ViewMode
impl UnsafeUnpin for ViewMode
impl UnwindSafe for ViewMode
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