SessionConfigOptionCategory class final
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.
- Implemented types
Constructors
- SessionConfigOptionCategory(String value)
-
Validates and creates a SessionConfigOptionCategory value.
factory
- SessionConfigOptionCategory.fromJson(Object? json)
-
Decodes a wire string.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAcpJson(
) → AcpJsonString -
Converts this protocol value to its immutable JSON representation.
override
-
toJson(
) → String - Encodes the wire string.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- mode → const SessionConfigOptionCategory
-
The
modeschema value. - model → const SessionConfigOptionCategory
-
The
modelschema value. - modelConfig → const SessionConfigOptionCategory
-
The
model_configschema value. - thoughtLevel → const SessionConfigOptionCategory
-
The
thought_levelschema value.