#[non_exhaustive]pub enum SessionConfigOptionCategory {
Mode,
Model,
ThoughtLevel,
Other(String),
}unstable_protocol_v2 only.Expand description
Semantic category for a session configuration option.
This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons, placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown categories gracefully.
Category names beginning with _ are free for custom use, like other ACP extension methods.
Category names that do not begin with _ are reserved for the ACP spec.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Mode
Session mode selector.
Model
Model selector.
ThoughtLevel
Thought/reasoning level selector.
Other(String)
Custom or future category.
Values beginning with _ are reserved for implementation-specific
extensions. Unknown values that do not begin with _ are reserved for
future ACP variants.
Trait Implementations§
Source§impl Clone for SessionConfigOptionCategory
impl Clone for SessionConfigOptionCategory
Source§fn clone(&self) -> SessionConfigOptionCategory
fn clone(&self) -> SessionConfigOptionCategory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionConfigOptionCategory
impl Debug for SessionConfigOptionCategory
Source§impl<'de> Deserialize<'de> for SessionConfigOptionCategory
impl<'de> Deserialize<'de> for SessionConfigOptionCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for SessionConfigOptionCategory
Source§impl IntoV1 for SessionConfigOptionCategory
impl IntoV1 for SessionConfigOptionCategory
Source§impl JsonSchema for SessionConfigOptionCategory
impl JsonSchema for SessionConfigOptionCategory
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for SessionConfigOptionCategory
impl PartialEq for SessionConfigOptionCategory
Source§fn eq(&self, other: &SessionConfigOptionCategory) -> bool
fn eq(&self, other: &SessionConfigOptionCategory) -> bool
self and other values to be equal, and is used by ==.