Module: Anthropic::Models::Beta::BetaDreamStatus
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/anthropic/models/beta/beta_dream_status.rb,
sig/anthropic/models/beta/beta_dream_status.rbs
Overview
Where a dream is in its lifecycle.
completed, failed, and canceled are final: once a dream has one of these
statuses, its status doesn't change again.
See the Dreams guide for what each status means.
Constant Summary collapse
- PENDING =
The dream is waiting to start and hasn't read its inputs yet.
outputsis empty and everyusagecount is zero. :pending- RUNNING =
The dream is reading its inputs and writing its result.
usageupdates while the dream has this status. :running- COMPLETED =
The dream finished and its output memory store holds the complete result.
:completed- FAILED =
The dream stopped with an error, which
errordescribes.If
outputsreferences a memory store, that memory store keeps what the dream wrote before it stopped. :failed- CANCELED =
A cancel request stopped the dream before it reached
completedorfailed.If
outputsreferences a memory store, that memory store keeps what the dream wrote.usagecan keep changing after the cancel. :canceled
Class Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type
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
.values ⇒ ::Array[Anthropic::Models::Beta::beta_dream_status]
35 |
# File 'sig/anthropic/models/beta/beta_dream_status.rbs', line 35
def self?.values: -> ::Array[Anthropic::Models::Beta::beta_dream_status]
|