Module: Anthropic::Models::Beta::BetaDreamStatus

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_dream_status.rb

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.

outputs is empty and every usage count is zero.

:pending
RUNNING =

The dream is reading its inputs and writing its result.

usage updates 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 error describes.

If outputs references 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 completed or failed.

If outputs references a memory store, that memory store keeps what the dream wrote. usage can keep changing after the cancel.

:canceled

Method Summary

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