Class: Anthropic::Models::EffortCapability

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/effort_capability.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(high:, low:, max:, medium:, supported:) ⇒ void

Effort (reasoning_effort) capability details.

Parameters:



# File 'lib/anthropic/models/effort_capability.rb', line 36


Instance Attribute Details

#highAnthropic::Models::CapabilitySupport

Whether the model supports high effort level.



10
# File 'lib/anthropic/models/effort_capability.rb', line 10

required :high, -> { Anthropic::CapabilitySupport }

#lowAnthropic::Models::CapabilitySupport

Whether the model supports low effort level.



16
# File 'lib/anthropic/models/effort_capability.rb', line 16

required :low, -> { Anthropic::CapabilitySupport }

#maxAnthropic::Models::CapabilitySupport

Whether the model supports max effort level.



22
# File 'lib/anthropic/models/effort_capability.rb', line 22

required :max, -> { Anthropic::CapabilitySupport }

#mediumAnthropic::Models::CapabilitySupport

Whether the model supports medium effort level.



28
# File 'lib/anthropic/models/effort_capability.rb', line 28

required :medium, -> { Anthropic::CapabilitySupport }

#supportedBoolean

Whether this capability is supported by the model.

Returns:



34
# File 'lib/anthropic/models/effort_capability.rb', line 34

required :supported, Anthropic::Internal::Type::Boolean