Class: Anthropic::Models::ThinkingConfigAdaptive

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

Defined Under Namespace

Modules: Display

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(display_: nil, type: :adaptive) ⇒ void

Some parameter documentations has been truncated, see Anthropic::Models::ThinkingConfigAdaptive for more details.

Parameters:



# File 'lib/anthropic/models/thinking_config_adaptive.rb', line 23

Instance Attribute Details

#display_Symbol, ...

Controls how thinking content appears in the response. When set to summarized, thinking is returned normally. When set to omitted, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to summarized.



18
19
20
21
# File 'lib/anthropic/models/thinking_config_adaptive.rb', line 18

optional :display_,
enum: -> { Anthropic::ThinkingConfigAdaptive::Display },
api_name: :display,
nil?: true

#typeSymbol, :adaptive

Returns:

  • (Symbol, :adaptive)


9
# File 'lib/anthropic/models/thinking_config_adaptive.rb', line 9

required :type, const: :adaptive