@@ -101,6 +101,7 @@ def create(
101101 self ,
102102 * ,
103103 name : str ,
104+ agent_configs : agent_create_params .AgentConfigs | NotGiven = NOT_GIVEN ,
104105 datastore_ids : List [str ] | NotGiven = NOT_GIVEN ,
105106 description : str | NotGiven = NOT_GIVEN ,
106107 suggested_queries : List [str ] | NotGiven = NOT_GIVEN ,
@@ -128,8 +129,9 @@ def create(
128129 Args:
129130 name: Name of the agent
130131
131- datastore_ids: The IDs of the datastore associated with the agent. Leave empty to automatically
132- create a new datastore.
132+ agent_configs: The following advanced parameters are experimental and subject to change.
133+
134+ datastore_ids: The IDs of the datastore to associate with this agent.
133135
134136 description: Description of the agent
135137
@@ -154,6 +156,7 @@ def create(
154156 body = maybe_transform (
155157 {
156158 "name" : name ,
159+ "agent_configs" : agent_configs ,
157160 "datastore_ids" : datastore_ids ,
158161 "description" : description ,
159162 "suggested_queries" : suggested_queries ,
@@ -171,6 +174,7 @@ def update(
171174 self ,
172175 agent_id : str ,
173176 * ,
177+ agent_configs : agent_update_params .AgentConfigs | NotGiven = NOT_GIVEN ,
174178 datastore_ids : List [str ] | NotGiven = NOT_GIVEN ,
175179 llm_model_id : str | NotGiven = NOT_GIVEN ,
176180 suggested_queries : List [str ] | NotGiven = NOT_GIVEN ,
@@ -190,6 +194,8 @@ def update(
190194 Args:
191195 agent_id: ID of the agent to edit
192196
197+ agent_configs: The following advanced parameters are experimental and subject to change.
198+
193199 datastore_ids: IDs of the datastore to associate with the agent.
194200
195201 llm_model_id: The model ID to use for generation. Tuned models can only be used for the agents
@@ -218,6 +224,7 @@ def update(
218224 f"/agents/{ agent_id } " ,
219225 body = maybe_transform (
220226 {
227+ "agent_configs" : agent_configs ,
221228 "datastore_ids" : datastore_ids ,
222229 "llm_model_id" : llm_model_id ,
223230 "suggested_queries" : suggested_queries ,
@@ -395,6 +402,7 @@ async def create(
395402 self ,
396403 * ,
397404 name : str ,
405+ agent_configs : agent_create_params .AgentConfigs | NotGiven = NOT_GIVEN ,
398406 datastore_ids : List [str ] | NotGiven = NOT_GIVEN ,
399407 description : str | NotGiven = NOT_GIVEN ,
400408 suggested_queries : List [str ] | NotGiven = NOT_GIVEN ,
@@ -422,8 +430,9 @@ async def create(
422430 Args:
423431 name: Name of the agent
424432
425- datastore_ids: The IDs of the datastore associated with the agent. Leave empty to automatically
426- create a new datastore.
433+ agent_configs: The following advanced parameters are experimental and subject to change.
434+
435+ datastore_ids: The IDs of the datastore to associate with this agent.
427436
428437 description: Description of the agent
429438
@@ -448,6 +457,7 @@ async def create(
448457 body = await async_maybe_transform (
449458 {
450459 "name" : name ,
460+ "agent_configs" : agent_configs ,
451461 "datastore_ids" : datastore_ids ,
452462 "description" : description ,
453463 "suggested_queries" : suggested_queries ,
@@ -465,6 +475,7 @@ async def update(
465475 self ,
466476 agent_id : str ,
467477 * ,
478+ agent_configs : agent_update_params .AgentConfigs | NotGiven = NOT_GIVEN ,
468479 datastore_ids : List [str ] | NotGiven = NOT_GIVEN ,
469480 llm_model_id : str | NotGiven = NOT_GIVEN ,
470481 suggested_queries : List [str ] | NotGiven = NOT_GIVEN ,
@@ -484,6 +495,8 @@ async def update(
484495 Args:
485496 agent_id: ID of the agent to edit
486497
498+ agent_configs: The following advanced parameters are experimental and subject to change.
499+
487500 datastore_ids: IDs of the datastore to associate with the agent.
488501
489502 llm_model_id: The model ID to use for generation. Tuned models can only be used for the agents
@@ -512,6 +525,7 @@ async def update(
512525 f"/agents/{ agent_id } " ,
513526 body = await async_maybe_transform (
514527 {
528+ "agent_configs" : agent_configs ,
515529 "datastore_ids" : datastore_ids ,
516530 "llm_model_id" : llm_model_id ,
517531 "suggested_queries" : suggested_queries ,
0 commit comments