Class: Copilot::ModelSupports

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Model support flags.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#reasoning_effortObject

Returns the value of attribute reasoning_effort

Returns:

  • (Object)

    the current value of reasoning_effort



366
367
368
# File 'lib/copilot/types.rb', line 366

def reasoning_effort
  @reasoning_effort
end

#visionObject

Returns the value of attribute vision

Returns:

  • (Object)

    the current value of vision



366
367
368
# File 'lib/copilot/types.rb', line 366

def vision
  @vision
end

Class Method Details

.from_hash(h) ⇒ Object



367
368
369
# File 'lib/copilot/types.rb', line 367

def self.from_hash(h)
  new(vision: h["vision"], reasoning_effort: h["reasoningEffort"])
end