Module: Anthropic::Models::Beta::BetaManagedAgentsSession::Status

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_managed_agents_session.rb,
sig/anthropic/models/beta/beta_managed_agents_session.rbs

Overview

SessionStatus enum

See Also:

  • Anthropic::Models::Beta::BetaManagedAgentsSession#status

Constant Summary collapse

RESCHEDULING =

Transient error occurred, retrying automatically.

Returns:

  • (:rescheduling)
:rescheduling
RUNNING =

Agent is actively executing.

Returns:

  • (:running)
:running
IDLE =

Agent is waiting for input, including user messages or tool confirmations. Sessions start in idle.

Returns:

  • (:idle)
:idle
TERMINATED =

Session has ended, either due to an error or completion.

Returns:

  • (:terminated)
:terminated

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[Anthropic::Models::Beta::BetaManagedAgentsSession::status]

Returns:

  • (::Array[Anthropic::Models::Beta::BetaManagedAgentsSession::status])


119
# File 'sig/anthropic/models/beta/beta_managed_agents_session.rbs', line 119

def self?.values: -> ::Array[Anthropic::Models::Beta::BetaManagedAgentsSession::status]