pub struct SessionSettingsChange {
pub agent: Option<AgentKind>,
pub model: Option<AgentModel>,
pub reasoning_level: Option<ReasoningLevel>,
pub response_style: Option<ResponseStyle>,
pub speed_mode: Option<SpeedMode>,
}Expand description
Settings to change on one session; None keeps a setting as it is.
Fields§
§agent: Option<AgentKind>Agent to run model, as the terminal’s /model picks one before the
model; None keeps the session’s own agent. It names an agent only
together with model, since agents share model ids.
model: Option<AgentModel>Model to switch to, run by agent.
reasoning_level: Option<ReasoningLevel>Reasoning level to use for later turns.
response_style: Option<ResponseStyle>Response style to use for later turns.
speed_mode: Option<SpeedMode>Response speed to use for later turns.
Trait Implementations§
Source§impl Clone for SessionSettingsChange
impl Clone for SessionSettingsChange
impl Copy for SessionSettingsChange
Source§impl Debug for SessionSettingsChange
impl Debug for SessionSettingsChange
Source§impl Default for SessionSettingsChange
impl Default for SessionSettingsChange
impl Eq for SessionSettingsChange
Source§impl PartialEq for SessionSettingsChange
impl PartialEq for SessionSettingsChange
impl StructuralPartialEq for SessionSettingsChange
Auto Trait Implementations§
impl Forget for SessionSettingsChange
impl Freeze for SessionSettingsChange
impl Move for SessionSettingsChange
impl RefUnwindSafe for SessionSettingsChange
impl Send for SessionSettingsChange
impl Sync for SessionSettingsChange
impl Unpin for SessionSettingsChange
impl UnsafeUnpin for SessionSettingsChange
impl UnwindSafe for SessionSettingsChange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.