Class: Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryPathConflictError
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryPathConflictError
- Defined in:
- lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb,
sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#conflicting_memory_id ⇒ String?
The ID of the memory that blocked the write (
mem_...), or an empty string if that memory can't be identified. -
#conflicting_path ⇒ String?
The path that blocked the write: the requested path, or the path of a memory that is an ancestor or descendant of it.
-
#message ⇒ String?
A human-readable explanation of the conflict.
- #type ⇒ Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryPathConflictError::Type
Instance Method Summary collapse
-
#initialize(type:, conflicting_memory_id: nil, conflicting_path: nil, message: nil) ⇒ void
constructor
The error returned with HTTP status 409 when a create or rename targets a path that another memory uses, or a path that overlaps another memory's path.
- #to_hash ⇒ {
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(type:, conflicting_memory_id: nil, conflicting_path: nil, message: nil) ⇒ void
The error returned with HTTP status 409 when a create or rename targets a path that another memory uses, or a path that overlaps another memory's path.
Two paths overlap when one is an ancestor of the other, such as /notes and
/notes/todo.md. To free the path, rename or delete the memory that
conflicting_memory_id references, then retry. To change that memory instead of
creating a new one, update it.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryPathConflictError for more details.
|
|
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb', line 36
|
Instance Attribute Details
#conflicting_memory_id ⇒ String?
The ID of the memory that blocked the write (mem_...), or an empty string if
that memory can't be identified.
Retry the request when it is empty.
20 |
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb', line 20 optional :conflicting_memory_id, String |
#conflicting_path ⇒ String?
The path that blocked the write: the requested path, or the path of a memory that is an ancestor or descendant of it.
27 |
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb', line 27 optional :conflicting_path, String |
#message ⇒ String?
A human-readable explanation of the conflict. To handle the error in code, use
conflicting_path and conflicting_memory_id instead.
34 |
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb', line 34 optional :message, String |
#type ⇒ Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemoryPathConflictError::Type
11 |
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb', line 11 required :type, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryPathConflictError::Type } |
Instance Method Details
#to_hash ⇒ {
35 |
# File 'sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbs', line 35
def to_hash: -> {
|