anthropic 1.35.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +1 -1
- data/lib/anthropic/models/anthropic_beta.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rb +36 -0
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store.rb +82 -0
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rb +77 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_archive_params.rb +31 -0
- data/lib/anthropic/models/beta/memory_store_create_params.rb +45 -0
- data/lib/anthropic/models/beta/memory_store_delete_params.rb +31 -0
- data/lib/anthropic/models/beta/memory_store_list_params.rb +64 -0
- data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +31 -0
- data/lib/anthropic/models/beta/memory_store_update_params.rb +58 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +24 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rb +35 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rb +35 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rb +36 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rb +36 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +44 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +95 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +23 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +47 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rb +36 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rb +35 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rb +117 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb +21 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rb +20 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rb +35 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rb +35 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rb +35 -0
- data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +55 -0
- data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +48 -0
- data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +105 -0
- data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +48 -0
- data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +69 -0
- data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +105 -0
- data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +40 -0
- data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +48 -0
- data/lib/anthropic/models/beta/message_create_params.rb +3 -6
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +3 -6
- data/lib/anthropic/models/beta/session_create_params.rb +6 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb +104 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +6 -1
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +4 -1
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +4 -1
- data/lib/anthropic/models/completion_create_params.rb +14 -6
- data/lib/anthropic/models/message_create_params.rb +3 -6
- data/lib/anthropic/models/messages/batch_create_params.rb +3 -6
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +211 -0
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +151 -0
- data/lib/anthropic/resources/beta/memory_stores.rb +197 -0
- data/lib/anthropic/resources/beta/messages/batches.rb +7 -1
- data/lib/anthropic/resources/beta/messages.rb +1 -0
- data/lib/anthropic/resources/beta/sessions/events.rb +7 -1
- data/lib/anthropic/resources/beta/sessions/resources.rb +3 -3
- data/lib/anthropic/resources/beta/sessions.rb +1 -1
- data/lib/anthropic/resources/beta.rb +4 -0
- data/lib/anthropic/resources/completions.rb +4 -1
- data/lib/anthropic/resources/messages/batches.rb +1 -1
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +38 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbi +81 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store.rbi +127 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbi +154 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +2 -1
- data/rbi/anthropic/models/beta/memory_store_archive_params.rbi +68 -0
- data/rbi/anthropic/models/beta/memory_store_create_params.rbi +86 -0
- data/rbi/anthropic/models/beta/memory_store_delete_params.rbi +68 -0
- data/rbi/anthropic/models/beta/memory_store_list_params.rbi +117 -0
- data/rbi/anthropic/models/beta/memory_store_retrieve_params.rbi +68 -0
- data/rbi/anthropic/models/beta/memory_store_update_params.rbi +92 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbi +32 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbi +80 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbi +83 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbi +83 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbi +80 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +41 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbi +135 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +31 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbi +104 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbi +83 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbi +80 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbi +209 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi +49 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbi +44 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbi +83 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbi +80 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbi +80 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_create_params.rbi +107 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_delete_params.rbi +88 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_list_params.rbi +213 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_retrieve_params.rbi +101 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_update_params.rbi +135 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_version_list_params.rbi +196 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_version_redact_params.rbi +77 -0
- data/rbi/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbi +101 -0
- data/rbi/anthropic/models/beta/message_create_params.rbi +6 -12
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +6 -12
- data/rbi/anthropic/models/beta/session_create_params.rbi +10 -5
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbi +186 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +3 -1
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -1
- data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -1
- data/rbi/anthropic/models/completion_create_params.rbi +6 -12
- data/rbi/anthropic/models/message_create_params.rbi +6 -12
- data/rbi/anthropic/models/messages/batch_create_params.rbi +6 -12
- data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +177 -0
- data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +117 -0
- data/rbi/anthropic/resources/beta/memory_stores.rbi +157 -0
- data/rbi/anthropic/resources/beta/messages.rbi +6 -12
- data/rbi/anthropic/resources/beta/sessions.rbi +2 -1
- data/rbi/anthropic/resources/beta.rbi +3 -0
- data/rbi/anthropic/resources/completions.rbi +6 -12
- data/rbi/anthropic/resources/messages.rbi +6 -12
- data/sig/anthropic/models/anthropic_beta.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbs +39 -0
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store.rbs +73 -0
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbs +60 -0
- data/sig/anthropic/models/beta/memory_store_archive_params.rbs +37 -0
- data/sig/anthropic/models/beta/memory_store_create_params.rbs +51 -0
- data/sig/anthropic/models/beta/memory_store_delete_params.rbs +37 -0
- data/sig/anthropic/models/beta/memory_store_list_params.rbs +67 -0
- data/sig/anthropic/models/beta/memory_store_retrieve_params.rbs +37 -0
- data/sig/anthropic/models/beta/memory_store_update_params.rbs +52 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs +18 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbs +39 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbs +41 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbs +41 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbs +39 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbs +27 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbs +79 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbs +17 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbs +55 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbs +41 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbs +39 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbs +102 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbs +20 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbs +18 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbs +41 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbs +39 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbs +39 -0
- data/sig/anthropic/models/beta/memory_stores/memory_create_params.rbs +58 -0
- data/sig/anthropic/models/beta/memory_stores/memory_delete_params.rbs +51 -0
- data/sig/anthropic/models/beta/memory_stores/memory_list_params.rbs +103 -0
- data/sig/anthropic/models/beta/memory_stores/memory_retrieve_params.rbs +53 -0
- data/sig/anthropic/models/beta/memory_stores/memory_update_params.rbs +72 -0
- data/sig/anthropic/models/beta/memory_stores/memory_version_list_params.rbs +106 -0
- data/sig/anthropic/models/beta/memory_stores/memory_version_redact_params.rbs +44 -0
- data/sig/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbs +53 -0
- data/sig/anthropic/models/beta/session_create_params.rbs +1 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbs +1 -0
- data/sig/anthropic/models/beta/sessions/resource_retrieve_response.rbs +1 -0
- data/sig/anthropic/models/beta/sessions/resource_update_response.rbs +1 -0
- data/sig/anthropic/resources/beta/memory_stores/memories.rbs +60 -0
- data/sig/anthropic/resources/beta/memory_stores/memory_versions.rbs +41 -0
- data/sig/anthropic/resources/beta/memory_stores.rbs +58 -0
- data/sig/anthropic/resources/beta.rbs +2 -0
- metadata +116 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3fffc686d05ec7aeed473cfbb56ad7102f8a07cfe3b0c33585dfd30b8f31508c
|
|
4
|
+
data.tar.gz: d3db83ed038385606895eafca58148672b5395e9657bfa56c94b0d4fa59673b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71b7782d5c2fc57aeb906baf576058d3cad43d7a838544a6ab7af0c56e9809045d0e17706fa63b115f4a03f7197ffee3ca12f0bb795aad7f3afebed606e10130
|
|
7
|
+
data.tar.gz: 5478d0a6623555fd59f46b5b88359295bc24d2cbe31bee788fd0f18eac003a7d225280c870da73a406301c13247e8847951149ff0d7835cc26495254efa59958
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.36.0 (2026-04-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.35.0...v1.36.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.35.0...v1.36.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** CMA Memory public beta ([9fafd1a](https://github.com/anthropics/anthropic-sdk-ruby/commit/9fafd1abe16d0398c6e59be0717a9ef9cb014347))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **api:** fix errors in api spec ([074fa8d](https://github.com/anthropics/anthropic-sdk-ruby/commit/074fa8dac4cdebc8eababcac95ca4fe9dc7970d3))
|
|
15
|
+
* **api:** restore missing features ([4496fac](https://github.com/anthropics/anthropic-sdk-ruby/commit/4496facb8130e48340a2c4107d3aaf412b5cf4eb))
|
|
16
|
+
* avoid gzip buffering during streaming ([307c594](https://github.com/anthropics/anthropic-sdk-ruby/commit/307c5944e27dd3eab5aa3c6f6e7ed02ca5b7cece))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Chores
|
|
20
|
+
|
|
21
|
+
* **internal:** more robust bootstrap script ([e8f157e](https://github.com/anthropics/anthropic-sdk-ruby/commit/e8f157e44e664c036c0b81584eee8919d55eb6db))
|
|
22
|
+
* **tests:** bump steady to v0.22.1 ([7f079ce](https://github.com/anthropics/anthropic-sdk-ruby/commit/7f079cee1a662245ce67c12b1b7790832dd931ad))
|
|
23
|
+
|
|
3
24
|
## 1.35.0 (2026-04-16)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v1.34.0...v1.35.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.34.0...v1.35.0)
|
data/README.md
CHANGED
|
@@ -49,10 +49,10 @@ module Anthropic
|
|
|
49
49
|
|
|
50
50
|
variant const: -> { Anthropic::Models::AnthropicBeta::OUTPUT_300K_2026_03_24 }
|
|
51
51
|
|
|
52
|
-
variant const: -> { Anthropic::Models::AnthropicBeta::ADVISOR_TOOL_2026_03_01 }
|
|
53
|
-
|
|
54
52
|
variant const: -> { Anthropic::Models::AnthropicBeta::USER_PROFILES_2026_03_24 }
|
|
55
53
|
|
|
54
|
+
variant const: -> { Anthropic::Models::AnthropicBeta::ADVISOR_TOOL_2026_03_01 }
|
|
55
|
+
|
|
56
56
|
# @!method self.variants
|
|
57
57
|
# @return [Array(String, Symbol)]
|
|
58
58
|
|
|
@@ -83,8 +83,8 @@ module Anthropic
|
|
|
83
83
|
SKILLS_2025_10_02 = :"skills-2025-10-02"
|
|
84
84
|
FAST_MODE_2026_02_01 = :"fast-mode-2026-02-01"
|
|
85
85
|
OUTPUT_300K_2026_03_24 = :"output-300k-2026-03-24"
|
|
86
|
-
ADVISOR_TOOL_2026_03_01 = :"advisor-tool-2026-03-01"
|
|
87
86
|
USER_PROFILES_2026_03_24 = :"user-profiles-2026-03-24"
|
|
87
|
+
ADVISOR_TOOL_2026_03_01 = :"advisor-tool-2026-03-01"
|
|
88
88
|
|
|
89
89
|
# @!endgroup
|
|
90
90
|
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#delete
|
|
7
|
+
class BetaManagedAgentsDeletedMemoryStore < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeletedMemoryStore::Type]
|
|
16
|
+
required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsDeletedMemoryStore::Type }
|
|
17
|
+
|
|
18
|
+
# @!method initialize(id:, type:)
|
|
19
|
+
# @param id [String]
|
|
20
|
+
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeletedMemoryStore::Type]
|
|
21
|
+
|
|
22
|
+
# @see Anthropic::Models::Beta::BetaManagedAgentsDeletedMemoryStore#type
|
|
23
|
+
module Type
|
|
24
|
+
extend Anthropic::Internal::Type::Enum
|
|
25
|
+
|
|
26
|
+
MEMORY_STORE_DELETED = :memory_store_deleted
|
|
27
|
+
|
|
28
|
+
# @!method self.values
|
|
29
|
+
# @return [Array<Symbol>]
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
BetaManagedAgentsDeletedMemoryStore = Beta::BetaManagedAgentsDeletedMemoryStore
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#create
|
|
7
|
+
class BetaManagedAgentsMemoryStore < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute created_at
|
|
14
|
+
# A timestamp in RFC 3339 format
|
|
15
|
+
#
|
|
16
|
+
# @return [Time]
|
|
17
|
+
required :created_at, Time
|
|
18
|
+
|
|
19
|
+
# @!attribute name
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :name, String
|
|
23
|
+
|
|
24
|
+
# @!attribute type
|
|
25
|
+
#
|
|
26
|
+
# @return [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStore::Type]
|
|
27
|
+
required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsMemoryStore::Type }
|
|
28
|
+
|
|
29
|
+
# @!attribute updated_at
|
|
30
|
+
# A timestamp in RFC 3339 format
|
|
31
|
+
#
|
|
32
|
+
# @return [Time]
|
|
33
|
+
required :updated_at, Time
|
|
34
|
+
|
|
35
|
+
# @!attribute archived_at
|
|
36
|
+
# A timestamp in RFC 3339 format
|
|
37
|
+
#
|
|
38
|
+
# @return [Time, nil]
|
|
39
|
+
optional :archived_at, Time, nil?: true
|
|
40
|
+
|
|
41
|
+
# @!attribute description
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :description, String
|
|
45
|
+
|
|
46
|
+
# @!attribute metadata
|
|
47
|
+
#
|
|
48
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
49
|
+
optional :metadata, Anthropic::Internal::Type::HashOf[String]
|
|
50
|
+
|
|
51
|
+
# @!method initialize(id:, created_at:, name:, type:, updated_at:, archived_at: nil, description: nil, metadata: nil)
|
|
52
|
+
# @param id [String]
|
|
53
|
+
#
|
|
54
|
+
# @param created_at [Time] A timestamp in RFC 3339 format
|
|
55
|
+
#
|
|
56
|
+
# @param name [String]
|
|
57
|
+
#
|
|
58
|
+
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStore::Type]
|
|
59
|
+
#
|
|
60
|
+
# @param updated_at [Time] A timestamp in RFC 3339 format
|
|
61
|
+
#
|
|
62
|
+
# @param archived_at [Time, nil] A timestamp in RFC 3339 format
|
|
63
|
+
#
|
|
64
|
+
# @param description [String]
|
|
65
|
+
#
|
|
66
|
+
# @param metadata [Hash{Symbol=>String}]
|
|
67
|
+
|
|
68
|
+
# @see Anthropic::Models::Beta::BetaManagedAgentsMemoryStore#type
|
|
69
|
+
module Type
|
|
70
|
+
extend Anthropic::Internal::Type::Enum
|
|
71
|
+
|
|
72
|
+
MEMORY_STORE = :memory_store
|
|
73
|
+
|
|
74
|
+
# @!method self.values
|
|
75
|
+
# @return [Array<Symbol>]
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
BetaManagedAgentsMemoryStore = Beta::BetaManagedAgentsMemoryStore
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsMemoryStoreResourceParam < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute memory_store_id
|
|
8
|
+
# The memory store ID (memstore\_...). Must belong to the caller's organization
|
|
9
|
+
# and workspace.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :memory_store_id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute type
|
|
15
|
+
#
|
|
16
|
+
# @return [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam::Type]
|
|
17
|
+
required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsMemoryStoreResourceParam::Type }
|
|
18
|
+
|
|
19
|
+
# @!attribute access
|
|
20
|
+
# Access mode for an attached memory store.
|
|
21
|
+
#
|
|
22
|
+
# @return [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam::Access, nil]
|
|
23
|
+
optional :access,
|
|
24
|
+
enum: -> { Anthropic::Beta::BetaManagedAgentsMemoryStoreResourceParam::Access },
|
|
25
|
+
nil?: true
|
|
26
|
+
|
|
27
|
+
# @!attribute instructions
|
|
28
|
+
# Per-attachment guidance for the agent on how to use this store. Rendered into
|
|
29
|
+
# the memory section of the system prompt. Max 4096 chars.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :instructions, String, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!method initialize(memory_store_id:, type:, access: nil, instructions: nil)
|
|
35
|
+
# Some parameter documentations has been truncated, see
|
|
36
|
+
# {Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam} for more
|
|
37
|
+
# details.
|
|
38
|
+
#
|
|
39
|
+
# Parameters for attaching a memory store to an agent session.
|
|
40
|
+
#
|
|
41
|
+
# @param memory_store_id [String] The memory store ID (memstore\_...). Must belong to the caller's organization
|
|
42
|
+
# and
|
|
43
|
+
#
|
|
44
|
+
# @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam::Type]
|
|
45
|
+
#
|
|
46
|
+
# @param access [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam::Access, nil] Access mode for an attached memory store.
|
|
47
|
+
#
|
|
48
|
+
# @param instructions [String, nil] Per-attachment guidance for the agent on how to use this store. Rendered into th
|
|
49
|
+
|
|
50
|
+
# @see Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam#type
|
|
51
|
+
module Type
|
|
52
|
+
extend Anthropic::Internal::Type::Enum
|
|
53
|
+
|
|
54
|
+
MEMORY_STORE = :memory_store
|
|
55
|
+
|
|
56
|
+
# @!method self.values
|
|
57
|
+
# @return [Array<Symbol>]
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Access mode for an attached memory store.
|
|
61
|
+
#
|
|
62
|
+
# @see Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam#access
|
|
63
|
+
module Access
|
|
64
|
+
extend Anthropic::Internal::Type::Enum
|
|
65
|
+
|
|
66
|
+
READ_WRITE = :read_write
|
|
67
|
+
READ_ONLY = :read_only
|
|
68
|
+
|
|
69
|
+
# @!method self.values
|
|
70
|
+
# @return [Array<Symbol>]
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
BetaManagedAgentsMemoryStoreResourceParam = Beta::BetaManagedAgentsMemoryStoreResourceParam
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -41,7 +41,7 @@ module Anthropic
|
|
|
41
41
|
|
|
42
42
|
# @!attribute resources
|
|
43
43
|
#
|
|
44
|
-
# @return [Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource, Anthropic::Models::Beta::Sessions::BetaManagedAgentsFileResource>]
|
|
44
|
+
# @return [Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource, Anthropic::Models::Beta::Sessions::BetaManagedAgentsFileResource, Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource>]
|
|
45
45
|
required :resources,
|
|
46
46
|
-> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::Sessions::BetaManagedAgentsSessionResource] }
|
|
47
47
|
|
|
@@ -104,7 +104,7 @@ module Anthropic
|
|
|
104
104
|
#
|
|
105
105
|
# @param metadata [Hash{Symbol=>String}]
|
|
106
106
|
#
|
|
107
|
-
# @param resources [Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource, Anthropic::Models::Beta::Sessions::BetaManagedAgentsFileResource>]
|
|
107
|
+
# @param resources [Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource, Anthropic::Models::Beta::Sessions::BetaManagedAgentsFileResource, Anthropic::Models::Beta::Sessions::BetaManagedAgentsMemoryStoreResource>]
|
|
108
108
|
#
|
|
109
109
|
# @param stats [Anthropic::Models::Beta::BetaManagedAgentsSessionStats] Timing statistics for a session.
|
|
110
110
|
#
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#archive
|
|
7
|
+
class MemoryStoreArchiveParams < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute memory_store_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :memory_store_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute betas
|
|
17
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
18
|
+
#
|
|
19
|
+
# @return [Array<String, Symbol, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
|
+
|
|
22
|
+
# @!method initialize(memory_store_id:, betas: nil, request_options: {})
|
|
23
|
+
# @param memory_store_id [String]
|
|
24
|
+
#
|
|
25
|
+
# @param betas [Array<String, Symbol, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
26
|
+
#
|
|
27
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#create
|
|
7
|
+
class MemoryStoreCreateParams < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute name
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :name, String
|
|
15
|
+
|
|
16
|
+
# @!attribute description
|
|
17
|
+
#
|
|
18
|
+
# @return [String, nil]
|
|
19
|
+
optional :description, String
|
|
20
|
+
|
|
21
|
+
# @!attribute metadata
|
|
22
|
+
#
|
|
23
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
24
|
+
optional :metadata, Anthropic::Internal::Type::HashOf[String]
|
|
25
|
+
|
|
26
|
+
# @!attribute betas
|
|
27
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
28
|
+
#
|
|
29
|
+
# @return [Array<String, Symbol, Anthropic::Models::AnthropicBeta>, nil]
|
|
30
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
31
|
+
|
|
32
|
+
# @!method initialize(name:, description: nil, metadata: nil, betas: nil, request_options: {})
|
|
33
|
+
# @param name [String]
|
|
34
|
+
#
|
|
35
|
+
# @param description [String]
|
|
36
|
+
#
|
|
37
|
+
# @param metadata [Hash{Symbol=>String}]
|
|
38
|
+
#
|
|
39
|
+
# @param betas [Array<String, Symbol, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
40
|
+
#
|
|
41
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#delete
|
|
7
|
+
class MemoryStoreDeleteParams < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute memory_store_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :memory_store_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute betas
|
|
17
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
18
|
+
#
|
|
19
|
+
# @return [Array<String, Symbol, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
|
+
|
|
22
|
+
# @!method initialize(memory_store_id:, betas: nil, request_options: {})
|
|
23
|
+
# @param memory_store_id [String]
|
|
24
|
+
#
|
|
25
|
+
# @param betas [Array<String, Symbol, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
26
|
+
#
|
|
27
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#list
|
|
7
|
+
class MemoryStoreListParams < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute created_at_gte
|
|
12
|
+
# Return stores created at or after this time (inclusive).
|
|
13
|
+
#
|
|
14
|
+
# @return [Time, nil]
|
|
15
|
+
optional :created_at_gte, Time
|
|
16
|
+
|
|
17
|
+
# @!attribute created_at_lte
|
|
18
|
+
# Return stores created at or before this time (inclusive).
|
|
19
|
+
#
|
|
20
|
+
# @return [Time, nil]
|
|
21
|
+
optional :created_at_lte, Time
|
|
22
|
+
|
|
23
|
+
# @!attribute include_archived
|
|
24
|
+
# Query parameter for include_archived
|
|
25
|
+
#
|
|
26
|
+
# @return [Boolean, nil]
|
|
27
|
+
optional :include_archived, Anthropic::Internal::Type::Boolean
|
|
28
|
+
|
|
29
|
+
# @!attribute limit
|
|
30
|
+
# Query parameter for limit
|
|
31
|
+
#
|
|
32
|
+
# @return [Integer, nil]
|
|
33
|
+
optional :limit, Integer
|
|
34
|
+
|
|
35
|
+
# @!attribute page
|
|
36
|
+
# Query parameter for page
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :page, String
|
|
40
|
+
|
|
41
|
+
# @!attribute betas
|
|
42
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
43
|
+
#
|
|
44
|
+
# @return [Array<String, Symbol, Anthropic::Models::AnthropicBeta>, nil]
|
|
45
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
46
|
+
|
|
47
|
+
# @!method initialize(created_at_gte: nil, created_at_lte: nil, include_archived: nil, limit: nil, page: nil, betas: nil, request_options: {})
|
|
48
|
+
# @param created_at_gte [Time] Return stores created at or after this time (inclusive).
|
|
49
|
+
#
|
|
50
|
+
# @param created_at_lte [Time] Return stores created at or before this time (inclusive).
|
|
51
|
+
#
|
|
52
|
+
# @param include_archived [Boolean] Query parameter for include_archived
|
|
53
|
+
#
|
|
54
|
+
# @param limit [Integer] Query parameter for limit
|
|
55
|
+
#
|
|
56
|
+
# @param page [String] Query parameter for page
|
|
57
|
+
#
|
|
58
|
+
# @param betas [Array<String, Symbol, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
59
|
+
#
|
|
60
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#retrieve
|
|
7
|
+
class MemoryStoreRetrieveParams < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute memory_store_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :memory_store_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute betas
|
|
17
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
18
|
+
#
|
|
19
|
+
# @return [Array<String, Symbol, Anthropic::Models::AnthropicBeta>, nil]
|
|
20
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
21
|
+
|
|
22
|
+
# @!method initialize(memory_store_id:, betas: nil, request_options: {})
|
|
23
|
+
# @param memory_store_id [String]
|
|
24
|
+
#
|
|
25
|
+
# @param betas [Array<String, Symbol, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
26
|
+
#
|
|
27
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
# @see Anthropic::Resources::Beta::MemoryStores#update
|
|
7
|
+
class MemoryStoreUpdateParams < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Anthropic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute memory_store_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :memory_store_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute description
|
|
17
|
+
#
|
|
18
|
+
# @return [String, nil]
|
|
19
|
+
optional :description, String, nil?: true
|
|
20
|
+
|
|
21
|
+
# @!attribute metadata
|
|
22
|
+
# Metadata patch. Set a key to a string to upsert it, or to null to delete it.
|
|
23
|
+
# Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars
|
|
24
|
+
# each) with values up to 512 chars.
|
|
25
|
+
#
|
|
26
|
+
# @return [Hash{Symbol=>String, nil}, nil]
|
|
27
|
+
optional :metadata, Anthropic::Internal::Type::HashOf[String, nil?: true], nil?: true
|
|
28
|
+
|
|
29
|
+
# @!attribute name
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :name, String, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!attribute betas
|
|
35
|
+
# Optional header to specify the beta version(s) you want to use.
|
|
36
|
+
#
|
|
37
|
+
# @return [Array<String, Symbol, Anthropic::Models::AnthropicBeta>, nil]
|
|
38
|
+
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
39
|
+
|
|
40
|
+
# @!method initialize(memory_store_id:, description: nil, metadata: nil, name: nil, betas: nil, request_options: {})
|
|
41
|
+
# Some parameter documentations has been truncated, see
|
|
42
|
+
# {Anthropic::Models::Beta::MemoryStoreUpdateParams} for more details.
|
|
43
|
+
#
|
|
44
|
+
# @param memory_store_id [String]
|
|
45
|
+
#
|
|
46
|
+
# @param description [String, nil]
|
|
47
|
+
#
|
|
48
|
+
# @param metadata [Hash{Symbol=>String, nil}, nil] Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omi
|
|
49
|
+
#
|
|
50
|
+
# @param name [String, nil]
|
|
51
|
+
#
|
|
52
|
+
# @param betas [Array<String, Symbol, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
53
|
+
#
|
|
54
|
+
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module MemoryStores
|
|
7
|
+
module BetaManagedAgentsActor
|
|
8
|
+
extend Anthropic::Internal::Type::Union
|
|
9
|
+
|
|
10
|
+
discriminator :type
|
|
11
|
+
|
|
12
|
+
variant :session_actor, -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsSessionActor }
|
|
13
|
+
|
|
14
|
+
variant :api_actor, -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsAPIActor }
|
|
15
|
+
|
|
16
|
+
variant :user_actor, -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsUserActor }
|
|
17
|
+
|
|
18
|
+
# @!method self.variants
|
|
19
|
+
# @return [Array(Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsSessionActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsUserActor)]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module MemoryStores
|
|
7
|
+
class BetaManagedAgentsAPIActor < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute api_key_id
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :api_key_id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor::Type]
|
|
16
|
+
required :type, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsAPIActor::Type }
|
|
17
|
+
|
|
18
|
+
# @!method initialize(api_key_id:, type:)
|
|
19
|
+
# @param api_key_id [String]
|
|
20
|
+
# @param type [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor::Type]
|
|
21
|
+
|
|
22
|
+
# @see Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsAPIActor#type
|
|
23
|
+
module Type
|
|
24
|
+
extend Anthropic::Internal::Type::Enum
|
|
25
|
+
|
|
26
|
+
API_ACTOR = :api_actor
|
|
27
|
+
|
|
28
|
+
# @!method self.values
|
|
29
|
+
# @return [Array<Symbol>]
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module MemoryStores
|
|
7
|
+
class BetaManagedAgentsConflictError < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute type
|
|
9
|
+
#
|
|
10
|
+
# @return [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsConflictError::Type]
|
|
11
|
+
required :type, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsConflictError::Type }
|
|
12
|
+
|
|
13
|
+
# @!attribute message
|
|
14
|
+
#
|
|
15
|
+
# @return [String, nil]
|
|
16
|
+
optional :message, String
|
|
17
|
+
|
|
18
|
+
# @!method initialize(type:, message: nil)
|
|
19
|
+
# @param type [Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsConflictError::Type]
|
|
20
|
+
# @param message [String]
|
|
21
|
+
|
|
22
|
+
# @see Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsConflictError#type
|
|
23
|
+
module Type
|
|
24
|
+
extend Anthropic::Internal::Type::Enum
|
|
25
|
+
|
|
26
|
+
CONFLICT_ERROR = :conflict_error
|
|
27
|
+
|
|
28
|
+
# @!method self.values
|
|
29
|
+
# @return [Array<Symbol>]
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|