Module: OpenAI::Models::Beta::Threads::Run::IncompleteDetails::Reason

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/beta/threads/run.rb,
sig/openai/models/beta/threads/run.rbs

Overview

The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run.

See Also:

  • OpenAI::Models::Beta::Threads::Run::IncompleteDetails#reason

Constant Summary collapse

MAX_COMPLETION_TOKENS =

Returns:

  • (:max_completion_tokens)
:max_completion_tokens
MAX_PROMPT_TOKENS =

Returns:

  • (:max_prompt_tokens)
:max_prompt_tokens

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

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

Instance Method Details

#self?.values::Array[OpenAI::Models::Beta::Threads::Run::IncompleteDetails::reason]

Returns:

  • (::Array[OpenAI::Models::Beta::Threads::Run::IncompleteDetails::reason])


179
# File 'sig/openai/models/beta/threads/run.rbs', line 179

def self?.values: -> ::Array[OpenAI::Models::Beta::Threads::Run::IncompleteDetails::reason]