Class: AgUiProtocol::Core::Capabilities::ReasoningCapabilities
- Inherits:
-
Types::Model
- Object
- Types::Model
- AgUiProtocol::Core::Capabilities::ReasoningCapabilities
- Defined in:
- lib/ag_ui_protocol/core/capabilities.rb
Overview
Reasoning and thinking capabilities.
Enable these when your agent exposes its internal thought process (e.g., chain-of-thought, extended thinking).
Instance Attribute Summary collapse
-
#encrypted ⇒ Object
readonly
Returns the value of attribute encrypted.
-
#streaming ⇒ Object
readonly
Returns the value of attribute streaming.
-
#supported ⇒ Object
readonly
Returns the value of attribute supported.
Instance Method Summary collapse
-
#initialize(supported: nil, streaming: nil, encrypted: nil) ⇒ ReasoningCapabilities
constructor
A new instance of ReasoningCapabilities.
- #to_h ⇒ Object
Methods inherited from Types::Model
Constructor Details
#initialize(supported: nil, streaming: nil, encrypted: nil) ⇒ ReasoningCapabilities
Returns a new instance of ReasoningCapabilities.
379 380 381 382 383 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 379 def initialize(supported: nil, streaming: nil, encrypted: nil) @supported = supported @streaming = streaming @encrypted = encrypted end |
Instance Attribute Details
#encrypted ⇒ Object (readonly)
Returns the value of attribute encrypted.
367 368 369 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 367 def encrypted @encrypted end |
#streaming ⇒ Object (readonly)
Returns the value of attribute streaming.
364 365 366 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 364 def streaming @streaming end |
#supported ⇒ Object (readonly)
Returns the value of attribute supported.
361 362 363 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 361 def supported @supported end |
Instance Method Details
#to_h ⇒ Object
386 387 388 389 390 391 392 |
# File 'lib/ag_ui_protocol/core/capabilities.rb', line 386 def to_h { supported: @supported, streaming: @streaming, encrypted: @encrypted } end |