Class: Copilot::ModelSupports
- Inherits:
-
Struct
- Object
- Struct
- Copilot::ModelSupports
- Defined in:
- lib/copilot/types.rb
Overview
Model support flags.
Instance Attribute Summary collapse
-
#reasoning_effort ⇒ Object
Returns the value of attribute reasoning_effort.
-
#vision ⇒ Object
Returns the value of attribute vision.
Class Method Summary collapse
Instance Attribute Details
#reasoning_effort ⇒ Object
Returns the value of attribute reasoning_effort
364 365 366 |
# File 'lib/copilot/types.rb', line 364 def reasoning_effort @reasoning_effort end |
#vision ⇒ Object
Returns the value of attribute vision
364 365 366 |
# File 'lib/copilot/types.rb', line 364 def vision @vision end |
Class Method Details
.from_hash(h) ⇒ Object
365 366 367 |
# File 'lib/copilot/types.rb', line 365 def self.from_hash(h) new(vision: h["vision"], reasoning_effort: h["reasoningEffort"]) end |