struct
ACP::Protocol::ConfigOptionGroup
- ACP::Protocol::ConfigOptionGroup
- Struct
- Value
- Object
Overview
A group of possible values for a session configuration option.
Matches the Rust SDK's SessionConfigSelectGroup.
Groups allow organizing option values into logical sections
(e.g., grouping models by provider).
See: https://agentclientprotocol.com/protocol/session-config-options
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/types.crConstructors
- .new(id : String, name : String, options : Array(ConfigOptionValue) = [] of ConfigOptionValue, meta : Hash(String, JSON::Any) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#id : String
Unique identifier for this group (required).
-
#id=(id : String)
Unique identifier for this group (required).
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#name : String
Human-readable label for this group (required).
-
#name=(name : String)
Human-readable label for this group (required).
-
#options : Array(ConfigOptionValue)
The values in this group (required).
-
#options=(options : Array(ConfigOptionValue))
The values in this group (required).
Constructor Detail
def self.new(id : String, name : String, options : Array(ConfigOptionValue) = [] of ConfigOptionValue, meta : Hash(String, JSON::Any) | Nil = nil)
#
Instance Method Detail
def id : String
#
Unique identifier for this group (required).
Maps to the Rust SDK's SessionConfigGroupId.
def id=(id : String)
#
Unique identifier for this group (required).
Maps to the Rust SDK's SessionConfigGroupId.