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.
Constant Summary collapse
- MAX_COMPLETION_TOKENS =
:max_completion_tokens- 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]
179 |
# File 'sig/openai/models/beta/threads/run.rbs', line 179
def self?.values: -> ::Array[OpenAI::Models::Beta::Threads::Run::IncompleteDetails::reason]
|