@@ -52,6 +52,7 @@ def create(
5252 name : str ,
5353 base_model : Optional [str ] | Omit = omit ,
5454 description : Optional [str ] | Omit = omit ,
55+ memory_stores : Iterable [agent_create_params .MemoryStore ] | Omit = omit ,
5556 secrets : Iterable [agent_create_params .Secret ] | Omit = omit ,
5657 skills : SequenceNotStr [str ] | Omit = omit ,
5758 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -73,6 +74,10 @@ def create(
7374
7475 description: Optional description of the agent
7576
77+ memory_stores: Optional list of memory stores to attach to the agent. Each store must be
78+ team-owned by the same team as the agent. Duplicate UIDs within a single request
79+ are rejected.
80+
7681 secrets: Optional list of secrets associated with the agent. Duplicate names within a
7782 single request are rejected. Each entry is unioned into the run-time secret
7883 scope when the agent executes.
@@ -99,6 +104,7 @@ def create(
99104 "name" : name ,
100105 "base_model" : base_model ,
101106 "description" : description ,
107+ "memory_stores" : memory_stores ,
102108 "secrets" : secrets ,
103109 "skills" : skills ,
104110 },
@@ -116,6 +122,7 @@ def update(
116122 * ,
117123 base_model : Optional [str ] | Omit = omit ,
118124 description : Optional [str ] | Omit = omit ,
125+ memory_stores : Optional [Iterable [agent_update_params .MemoryStore ]] | Omit = omit ,
119126 name : str | Omit = omit ,
120127 secrets : Optional [Iterable [agent_update_params .Secret ]] | Omit = omit ,
121128 skills : Optional [SequenceNotStr [str ]] | Omit = omit ,
@@ -137,6 +144,9 @@ def update(
137144 description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
138145 value to clear.
139146
147+ memory_stores: Replacement list of memory stores. Omit to leave unchanged, pass an empty array
148+ to clear, or pass a non-empty array to replace.
149+
140150 name: The new name for the agent
141151
142152 secrets: Replacement list of secrets. Omit to leave unchanged, pass an empty array to
@@ -161,6 +171,7 @@ def update(
161171 {
162172 "base_model" : base_model ,
163173 "description" : description ,
174+ "memory_stores" : memory_stores ,
164175 "name" : name ,
165176 "secrets" : secrets ,
166177 "skills" : skills ,
@@ -296,6 +307,7 @@ async def create(
296307 name : str ,
297308 base_model : Optional [str ] | Omit = omit ,
298309 description : Optional [str ] | Omit = omit ,
310+ memory_stores : Iterable [agent_create_params .MemoryStore ] | Omit = omit ,
299311 secrets : Iterable [agent_create_params .Secret ] | Omit = omit ,
300312 skills : SequenceNotStr [str ] | Omit = omit ,
301313 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -317,6 +329,10 @@ async def create(
317329
318330 description: Optional description of the agent
319331
332+ memory_stores: Optional list of memory stores to attach to the agent. Each store must be
333+ team-owned by the same team as the agent. Duplicate UIDs within a single request
334+ are rejected.
335+
320336 secrets: Optional list of secrets associated with the agent. Duplicate names within a
321337 single request are rejected. Each entry is unioned into the run-time secret
322338 scope when the agent executes.
@@ -343,6 +359,7 @@ async def create(
343359 "name" : name ,
344360 "base_model" : base_model ,
345361 "description" : description ,
362+ "memory_stores" : memory_stores ,
346363 "secrets" : secrets ,
347364 "skills" : skills ,
348365 },
@@ -360,6 +377,7 @@ async def update(
360377 * ,
361378 base_model : Optional [str ] | Omit = omit ,
362379 description : Optional [str ] | Omit = omit ,
380+ memory_stores : Optional [Iterable [agent_update_params .MemoryStore ]] | Omit = omit ,
363381 name : str | Omit = omit ,
364382 secrets : Optional [Iterable [agent_update_params .Secret ]] | Omit = omit ,
365383 skills : Optional [SequenceNotStr [str ]] | Omit = omit ,
@@ -381,6 +399,9 @@ async def update(
381399 description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
382400 value to clear.
383401
402+ memory_stores: Replacement list of memory stores. Omit to leave unchanged, pass an empty array
403+ to clear, or pass a non-empty array to replace.
404+
384405 name: The new name for the agent
385406
386407 secrets: Replacement list of secrets. Omit to leave unchanged, pass an empty array to
@@ -405,6 +426,7 @@ async def update(
405426 {
406427 "base_model" : base_model ,
407428 "description" : description ,
429+ "memory_stores" : memory_stores ,
408430 "name" : name ,
409431 "secrets" : secrets ,
410432 "skills" : skills ,
0 commit comments