Class: AgUiProtocol::Core::Capabilities::MultiAgentCapabilities
- Inherits:
-
Types::Model
- Object
- Types::Model
- AgUiProtocol::Core::Capabilities::MultiAgentCapabilities
- Defined in:
- lib/ag_ui_protocol/core/capabilities.rb
Overview
Multi-agent coordination capabilities.
Enable these when your agent can orchestrate or hand off work to other agents.
Instance Attribute Summary collapse
-
#delegation ⇒ Object
readonly
Returns the value of attribute delegation.
-
#handoffs ⇒ Object
readonly
Returns the value of attribute handoffs.
-
#sub_agents ⇒ Object
readonly
Returns the value of attribute sub_agents.
-
#supported ⇒ Object
readonly
Returns the value of attribute supported.
Instance Method Summary collapse
-
#initialize(supported: nil, delegation: nil, handoffs: nil, sub_agents: nil) ⇒ MultiAgentCapabilities
constructor
A new instance of MultiAgentCapabilities.
- #to_h ⇒ Object
Methods inherited from Types::Model
Constructor Details
#initialize(supported: nil, delegation: nil, handoffs: nil, sub_agents: nil) ⇒ MultiAgentCapabilities
Returns a new instance of MultiAgentCapabilities.
335 336 337 338 339 340 341 342 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 335 def initialize( supported: nil, delegation: nil, handoffs: nil, sub_agents: nil ) @supported = supported @delegation = delegation @handoffs = handoffs @sub_agents = sub_agents end |
Instance Attribute Details
#delegation ⇒ Object (readonly)
Returns the value of attribute delegation.
315 316 317 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 315 def delegation @delegation end |
#handoffs ⇒ Object (readonly)
Returns the value of attribute handoffs.
318 319 320 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 318 def handoffs @handoffs end |
#sub_agents ⇒ Object (readonly)
Returns the value of attribute sub_agents.
321 322 323 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 321 def sub_agents @sub_agents end |
#supported ⇒ Object (readonly)
Returns the value of attribute supported.
312 313 314 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 312 def supported @supported end |
Instance Method Details
#to_h ⇒ Object
345 346 347 348 349 350 351 352 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 345 def to_h { supported: @supported, delegation: @delegation, handoffs: @handoffs, sub_agents: @sub_agents } end |