Module: Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsActor
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb,
sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs
Overview
Identifies who performed a write or redact operation. Captured at write time on
the memory_version row. The API key that created a session is not recorded on
agent writes; attribution answers who made the write, not who is ultimately
responsible. Look up session provenance separately via the
Sessions API.
Class Method Summary collapse
-
.new(type:, **args) ⇒ Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, ...
Creates a new instance of the variant class whose
typematches the given value, passing the remaining arguments to its constructor. - .variants ⇒ Array(Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsUserActor)
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
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
.new(type:, **args) ⇒ Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, ...
Creates a new instance of the variant class whose type matches the given
value, passing the remaining arguments to its constructor.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsActor for more details.
48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb', line 48 def self.new(type:, **args) case type.to_sym when :session_actor Anthropic::Beta::MemoryStores::BetaManagedAgentsSessionActor.new(**args) when :api_actor Anthropic::Beta::MemoryStores::BetaManagedAgentsAPIActor.new(**args) when :user_actor Anthropic::Beta::MemoryStores::BetaManagedAgentsUserActor.new(**args) else raise ArgumentError, "unknown type: #{type}" end end |
.variants ⇒ Array(Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsUserActor)
|
|
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb', line 26
|
Instance Method Details
#self?.variants ⇒ ::Array[Anthropic::Models::Beta::MemoryStores::beta_managed_agents_actor]
13 |
# File 'sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs', line 13
def self?.variants: -> ::Array[Anthropic::Models::Beta::MemoryStores::beta_managed_agents_actor]
|