@@ -50,6 +50,7 @@ def create(
5050 self ,
5151 * ,
5252 name : str ,
53+ base_model : Optional [str ] | Omit = omit ,
5354 description : Optional [str ] | Omit = omit ,
5455 secrets : Iterable [agent_create_params .Secret ] | Omit = omit ,
5556 skills : SequenceNotStr [str ] | Omit = omit ,
@@ -68,6 +69,8 @@ def create(
6869 Args:
6970 name: A name for the agent
7071
72+ base_model: Optional base model for runs executed by this agent.
73+
7174 description: Optional description of the agent
7275
7376 secrets: Optional list of secrets associated with the agent. Duplicate names within a
@@ -94,6 +97,7 @@ def create(
9497 body = maybe_transform (
9598 {
9699 "name" : name ,
100+ "base_model" : base_model ,
97101 "description" : description ,
98102 "secrets" : secrets ,
99103 "skills" : skills ,
@@ -110,6 +114,7 @@ def update(
110114 self ,
111115 uid : str ,
112116 * ,
117+ base_model : Optional [str ] | Omit = omit ,
113118 description : Optional [str ] | Omit = omit ,
114119 name : str | Omit = omit ,
115120 secrets : Optional [Iterable [agent_update_params .Secret ]] | Omit = omit ,
@@ -124,9 +129,12 @@ def update(
124129 """Update an existing agent.
125130
126131 Args:
127- description: Replacement description.
132+ base_model: Replacement base model.
133+
134+ Omit or pass `null` to leave unchanged, or pass an empty
135+ string to clear.
128136
129- Omit or pass `null` to leave unchanged, or use an empty
137+ description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
130138 value to clear.
131139
132140 name: The new name for the agent
@@ -151,6 +159,7 @@ def update(
151159 path_template ("/agent/identities/{uid}" , uid = uid ),
152160 body = maybe_transform (
153161 {
162+ "base_model" : base_model ,
154163 "description" : description ,
155164 "name" : name ,
156165 "secrets" : secrets ,
@@ -285,6 +294,7 @@ async def create(
285294 self ,
286295 * ,
287296 name : str ,
297+ base_model : Optional [str ] | Omit = omit ,
288298 description : Optional [str ] | Omit = omit ,
289299 secrets : Iterable [agent_create_params .Secret ] | Omit = omit ,
290300 skills : SequenceNotStr [str ] | Omit = omit ,
@@ -303,6 +313,8 @@ async def create(
303313 Args:
304314 name: A name for the agent
305315
316+ base_model: Optional base model for runs executed by this agent.
317+
306318 description: Optional description of the agent
307319
308320 secrets: Optional list of secrets associated with the agent. Duplicate names within a
@@ -329,6 +341,7 @@ async def create(
329341 body = await async_maybe_transform (
330342 {
331343 "name" : name ,
344+ "base_model" : base_model ,
332345 "description" : description ,
333346 "secrets" : secrets ,
334347 "skills" : skills ,
@@ -345,6 +358,7 @@ async def update(
345358 self ,
346359 uid : str ,
347360 * ,
361+ base_model : Optional [str ] | Omit = omit ,
348362 description : Optional [str ] | Omit = omit ,
349363 name : str | Omit = omit ,
350364 secrets : Optional [Iterable [agent_update_params .Secret ]] | Omit = omit ,
@@ -359,9 +373,12 @@ async def update(
359373 """Update an existing agent.
360374
361375 Args:
362- description: Replacement description.
376+ base_model: Replacement base model.
377+
378+ Omit or pass `null` to leave unchanged, or pass an empty
379+ string to clear.
363380
364- Omit or pass `null` to leave unchanged, or use an empty
381+ description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
365382 value to clear.
366383
367384 name: The new name for the agent
@@ -386,6 +403,7 @@ async def update(
386403 path_template ("/agent/identities/{uid}" , uid = uid ),
387404 body = await async_maybe_transform (
388405 {
406+ "base_model" : base_model ,
389407 "description" : description ,
390408 "name" : name ,
391409 "secrets" : secrets ,
0 commit comments