Module: OpenAI::Models::Reasoning::Mode

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/reasoning.rb,
sig/openai/models/reasoning.rbs

Overview

Controls the reasoning execution mode for the request.

When returned on a response, this is the effective execution mode.

See Also:

  • OpenAI::Models::Reasoning#mode

collapse

STANDARD =

Returns:

  • (:standard)
:standard
PRO =

Returns:

  • (:pro)
:pro

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.variants ⇒ Array(String, Symbol)

Returns:

  • (Array(String, Symbol))


155
156
157
# File 'lib/openai/models/reasoning.rb', line 155

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(String, OpenAI::Reasoning::Mode::TaggedSymbol) }
end