Class: Cadenya::Models::ModelSpecCapabilityReasoning
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ModelSpecCapabilityReasoning
- Defined in:
- lib/cadenya/models/model_spec_capability_reasoning.rb,
sig/cadenya/models/model_spec_capability_reasoning.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#reasoning ⇒ Cadenya::Models::CapabilityReasoning
Reasoning / extended thinking (ModelConfig.reasoning_effort).
- #type ⇒ Symbol, Cadenya::Models::ModelSpecCapabilityReasoning::Type
Instance Method Summary collapse
-
#initialize(reasoning:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see ModelSpecCapabilityReasoning for more details.
- #to_hash ⇒ {
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(reasoning:, type:) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::ModelSpecCapabilityReasoning for more details.
|
|
# File 'lib/cadenya/models/model_spec_capability_reasoning.rb', line 18
|
Instance Attribute Details
#reasoning ⇒ Cadenya::Models::CapabilityReasoning
Reasoning / extended thinking (ModelConfig.reasoning_effort). A model that does not reason simply omits this capability.
11 |
# File 'lib/cadenya/models/model_spec_capability_reasoning.rb', line 11 required :reasoning, -> { Cadenya::CapabilityReasoning } |
#type ⇒ Symbol, Cadenya::Models::ModelSpecCapabilityReasoning::Type
16 |
# File 'lib/cadenya/models/model_spec_capability_reasoning.rb', line 16 required :type, enum: -> { Cadenya::ModelSpecCapabilityReasoning::Type } |
Instance Method Details
#to_hash ⇒ {
19 |
# File 'sig/cadenya/models/model_spec_capability_reasoning.rbs', line 19
def to_hash: -> {
|