Module: OpenAI::Models::Beta::BetaResponse::Reasoning::Mode

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/beta_response.rb,
sig/openai/models/beta/beta_response.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::Beta::BetaResponse::Reasoning#mode

collapse

STANDARD =

Returns:

  • (:standard)
:standard
PRO =

Returns:

  • (:pro)
:pro

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

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

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(String, Symbol)

Returns:

  • (Array(String, Symbol))


1339
1340
1341
# File 'lib/openai/models/beta/beta_response.rb', line 1339

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

Instance Method Details

#self?.variants::Array[OpenAI::Models::Beta::BetaResponse::Reasoning::mode]

Returns:

  • (::Array[OpenAI::Models::Beta::BetaResponse::Reasoning::mode])


814
# File 'sig/openai/models/beta/beta_response.rbs', line 814

def self?.variants: -> ::Array[OpenAI::Models::Beta::BetaResponse::Reasoning::mode]