pub struct SessionModeSetResult {
pub arm_interactive_continuation: Option<bool>,
pub confirmation: Option<ModelSwitchConfirmation>,
pub defer_implementation: Option<bool>,
pub deprecation_warnings: Option<Vec<String>>,
pub message: Option<String>,
pub model_changed: bool,
pub status: String,
pub warning: Option<String>,
}Expand description
Outcome of a session mode change, including any model switch it triggered and follow-up the host must perform.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§arm_interactive_continuation: Option<bool>Whether the host should arm an interactive continuation after the mode change.
confirmation: Option<ModelSwitchConfirmation>Compaction confirmation required before the mode change can complete.
defer_implementation: Option<bool>Whether the host must defer implementing the requested mode change.
deprecation_warnings: Option<Vec<String>>Deprecation warnings associated with the model selected by the mode change.
message: Option<String>User-facing outcome message for the model switch triggered by the mode change.
model_changed: boolWhether applying the mode changed the active model.
status: StringLifecycle status of the requested mode change.
warning: Option<String>User-facing warning produced while applying the mode change.
Trait Implementations§
Source§impl Clone for SessionModeSetResult
impl Clone for SessionModeSetResult
Source§fn clone(&self) -> SessionModeSetResult
fn clone(&self) -> SessionModeSetResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more