Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource
- Defined in:
- lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb,
sig/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbs
Defined Under Namespace
Modules: Access
Instance Attribute Summary collapse
-
#access ⇒ Symbol, ...
Access mode for the mounted store.
-
#description ⇒ String?
Description of the memory store, snapshotted at attach time.
-
#instructions ⇒ String?
Per-attachment guidance for the agent on how to use this store.
-
#memory_store_id ⇒ String
The memory store ID (memstore_...).
-
#mount_path ⇒ String?
Filesystem path where the store is mounted in the session container, e.g.
-
#name ⇒ String?
Display name of the memory store, snapshotted at attach time.
- #type ⇒ Symbol, :memory_store
Instance Method Summary collapse
-
#initialize(memory_store_id:, access: nil, description: nil, instructions: nil, mount_path: nil, name: nil, type: :memory_store) ⇒ BetaManagedAgentsMemoryStoreResource
constructor
A memory store attached to an agent session.
- #to_hash ⇒ { memory_store_id: String, type: :memory_store, access: Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource::access?, description: String, instructions: String?, mount_path: String?, name: String? }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(memory_store_id:, access: nil, description: nil, instructions: nil, mount_path: nil, name: nil, type: :memory_store) ⇒ BetaManagedAgentsMemoryStoreResource
A memory store attached to an agent session.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource for more details.
|
|
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 57
|
Instance Attribute Details
#access ⇒ Symbol, ...
Access mode for the mounted store. Defaults to read_write. read_only mounts
the store as a read-only filesystem.
25 26 27 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 25 optional :access, enum: -> { Anthropic::Beta::Sessions::BetaManagedAgentsMemoryStoreResource::Access }, nil?: true |
#description ⇒ String?
Description of the memory store, snapshotted at attach time. Rendered into the agent's system prompt. Empty string when the store has no description.
34 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 34 optional :description, String |
#instructions ⇒ String?
Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
41 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 41 optional :instructions, String, nil?: true |
#memory_store_id ⇒ String
The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
13 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 13 required :memory_store_id, String |
#mount_path ⇒ String?
Filesystem path where the store is mounted in the session container, e.g. /mnt/memory/user-preferences. Derived from the store's name. Output-only.
48 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 48 optional :mount_path, String, nil?: true |
#name ⇒ String?
Display name of the memory store, snapshotted at attach time. Later edits to the store's name do not propagate to this resource.
55 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 55 optional :name, String, nil?: true |
#type ⇒ Symbol, :memory_store
18 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb', line 18 required :type, const: :memory_store |
Instance Method Details
#to_hash ⇒ { memory_store_id: String, type: :memory_store, access: Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource::access?, description: String, instructions: String?, mount_path: String?, name: String? }
43 44 45 46 47 48 49 50 51 |
# File 'sig/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbs', line 43
def to_hash: -> {
memory_store_id: String,
type: :memory_store,
access: Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource::access?,
description: String,
instructions: String?,
mount_path: String?,
name: String?
}
|