@@ -50,7 +50,6 @@ def create(
5050 self ,
5151 * ,
5252 name : str ,
53- base_model : Optional [str ] | Omit = omit ,
5453 description : Optional [str ] | Omit = omit ,
5554 secrets : Iterable [agent_create_params .Secret ] | Omit = omit ,
5655 skills : SequenceNotStr [str ] | Omit = omit ,
@@ -69,8 +68,6 @@ def create(
6968 Args:
7069 name: A name for the agent
7170
72- base_model: Optional base model for runs executed by this agent.
73-
7471 description: Optional description of the agent
7572
7673 secrets: Optional list of secrets associated with the agent. Duplicate names within a
@@ -97,7 +94,6 @@ def create(
9794 body = maybe_transform (
9895 {
9996 "name" : name ,
100- "base_model" : base_model ,
10197 "description" : description ,
10298 "secrets" : secrets ,
10399 "skills" : skills ,
@@ -114,7 +110,6 @@ def update(
114110 self ,
115111 uid : str ,
116112 * ,
117- base_model : Optional [str ] | Omit = omit ,
118113 description : Optional [str ] | Omit = omit ,
119114 name : str | Omit = omit ,
120115 secrets : Optional [Iterable [agent_update_params .Secret ]] | Omit = omit ,
@@ -129,12 +124,9 @@ def update(
129124 """Update an existing agent.
130125
131126 Args:
132- base_model: Replacement base model.
133-
134- Omit or pass `null` to leave unchanged, or pass an empty
135- string to clear.
127+ description: Replacement description.
136128
137- description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
129+ Omit or pass `null` to leave unchanged, or use an empty
138130 value to clear.
139131
140132 name: The new name for the agent
@@ -159,7 +151,6 @@ def update(
159151 path_template ("/agent/identities/{uid}" , uid = uid ),
160152 body = maybe_transform (
161153 {
162- "base_model" : base_model ,
163154 "description" : description ,
164155 "name" : name ,
165156 "secrets" : secrets ,
@@ -231,42 +222,6 @@ def delete(
231222 cast_to = NoneType ,
232223 )
233224
234- def get (
235- self ,
236- uid : str ,
237- * ,
238- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
239- # The extra values given here take precedence over values defined on the client or passed to this method.
240- extra_headers : Headers | None = None ,
241- extra_query : Query | None = None ,
242- extra_body : Body | None = None ,
243- timeout : float | httpx .Timeout | None | NotGiven = not_given ,
244- ) -> AgentResponse :
245- """Retrieve a single agent by its unique identifier.
246-
247- The response includes an
248- `available` flag indicating whether the agent is within the team's plan limit
249- and may be used for runs.
250-
251- Args:
252- extra_headers: Send extra headers
253-
254- extra_query: Add additional query parameters to the request
255-
256- extra_body: Add additional JSON properties to the request
257-
258- timeout: Override the client-level default timeout for this request, in seconds
259- """
260- if not uid :
261- raise ValueError (f"Expected a non-empty value for `uid` but received { uid !r} " )
262- return self ._get (
263- path_template ("/agent/identities/{uid}" , uid = uid ),
264- options = make_request_options (
265- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
266- ),
267- cast_to = AgentResponse ,
268- )
269-
270225
271226class AsyncAgentResource (AsyncAPIResource ):
272227 """Operations for running and managing cloud agents"""
@@ -294,7 +249,6 @@ async def create(
294249 self ,
295250 * ,
296251 name : str ,
297- base_model : Optional [str ] | Omit = omit ,
298252 description : Optional [str ] | Omit = omit ,
299253 secrets : Iterable [agent_create_params .Secret ] | Omit = omit ,
300254 skills : SequenceNotStr [str ] | Omit = omit ,
@@ -313,8 +267,6 @@ async def create(
313267 Args:
314268 name: A name for the agent
315269
316- base_model: Optional base model for runs executed by this agent.
317-
318270 description: Optional description of the agent
319271
320272 secrets: Optional list of secrets associated with the agent. Duplicate names within a
@@ -341,7 +293,6 @@ async def create(
341293 body = await async_maybe_transform (
342294 {
343295 "name" : name ,
344- "base_model" : base_model ,
345296 "description" : description ,
346297 "secrets" : secrets ,
347298 "skills" : skills ,
@@ -358,7 +309,6 @@ async def update(
358309 self ,
359310 uid : str ,
360311 * ,
361- base_model : Optional [str ] | Omit = omit ,
362312 description : Optional [str ] | Omit = omit ,
363313 name : str | Omit = omit ,
364314 secrets : Optional [Iterable [agent_update_params .Secret ]] | Omit = omit ,
@@ -373,12 +323,9 @@ async def update(
373323 """Update an existing agent.
374324
375325 Args:
376- base_model: Replacement base model.
377-
378- Omit or pass `null` to leave unchanged, or pass an empty
379- string to clear.
326+ description: Replacement description.
380327
381- description: Replacement description. Omit or pass `null` to leave unchanged, or use an empty
328+ Omit or pass `null` to leave unchanged, or use an empty
382329 value to clear.
383330
384331 name: The new name for the agent
@@ -403,7 +350,6 @@ async def update(
403350 path_template ("/agent/identities/{uid}" , uid = uid ),
404351 body = await async_maybe_transform (
405352 {
406- "base_model" : base_model ,
407353 "description" : description ,
408354 "name" : name ,
409355 "secrets" : secrets ,
@@ -475,42 +421,6 @@ async def delete(
475421 cast_to = NoneType ,
476422 )
477423
478- async def get (
479- self ,
480- uid : str ,
481- * ,
482- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
483- # The extra values given here take precedence over values defined on the client or passed to this method.
484- extra_headers : Headers | None = None ,
485- extra_query : Query | None = None ,
486- extra_body : Body | None = None ,
487- timeout : float | httpx .Timeout | None | NotGiven = not_given ,
488- ) -> AgentResponse :
489- """Retrieve a single agent by its unique identifier.
490-
491- The response includes an
492- `available` flag indicating whether the agent is within the team's plan limit
493- and may be used for runs.
494-
495- Args:
496- extra_headers: Send extra headers
497-
498- extra_query: Add additional query parameters to the request
499-
500- extra_body: Add additional JSON properties to the request
501-
502- timeout: Override the client-level default timeout for this request, in seconds
503- """
504- if not uid :
505- raise ValueError (f"Expected a non-empty value for `uid` but received { uid !r} " )
506- return await self ._get (
507- path_template ("/agent/identities/{uid}" , uid = uid ),
508- options = make_request_options (
509- extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
510- ),
511- cast_to = AgentResponse ,
512- )
513-
514424
515425class AgentResourceWithRawResponse :
516426 def __init__ (self , agent : AgentResource ) -> None :
@@ -528,9 +438,6 @@ def __init__(self, agent: AgentResource) -> None:
528438 self .delete = to_raw_response_wrapper (
529439 agent .delete ,
530440 )
531- self .get = to_raw_response_wrapper (
532- agent .get ,
533- )
534441
535442
536443class AsyncAgentResourceWithRawResponse :
@@ -549,9 +456,6 @@ def __init__(self, agent: AsyncAgentResource) -> None:
549456 self .delete = async_to_raw_response_wrapper (
550457 agent .delete ,
551458 )
552- self .get = async_to_raw_response_wrapper (
553- agent .get ,
554- )
555459
556460
557461class AgentResourceWithStreamingResponse :
@@ -570,9 +474,6 @@ def __init__(self, agent: AgentResource) -> None:
570474 self .delete = to_streamed_response_wrapper (
571475 agent .delete ,
572476 )
573- self .get = to_streamed_response_wrapper (
574- agent .get ,
575- )
576477
577478
578479class AsyncAgentResourceWithStreamingResponse :
@@ -591,6 +492,3 @@ def __init__(self, agent: AsyncAgentResource) -> None:
591492 self .delete = async_to_streamed_response_wrapper (
592493 agent .delete ,
593494 )
594- self .get = async_to_streamed_response_wrapper (
595- agent .get ,
596- )
0 commit comments