@@ -185,12 +185,14 @@ def create(
185185 description : str | Omit = omit ,
186186 instruction : str | Omit = omit ,
187187 knowledge_base_uuid : SequenceNotStr [str ] | Omit = omit ,
188+ model_provider_key_uuid : str | Omit = omit ,
188189 model_uuid : str | Omit = omit ,
189190 name : str | Omit = omit ,
190191 openai_key_uuid : str | Omit = omit ,
191192 project_id : str | Omit = omit ,
192193 region : str | Omit = omit ,
193194 tags : SequenceNotStr [str ] | Omit = omit ,
195+ workspace_uuid : str | Omit = omit ,
194196 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
195197 # The extra values given here take precedence over values defined on the client or passed to this method.
196198 extra_headers : Headers | None = None ,
@@ -227,6 +229,8 @@ def create(
227229
228230 tags: Agent tag to organize related resources
229231
232+ workspace_uuid: Identifier for the workspace
233+
230234 extra_headers: Send extra headers
231235
232236 extra_query: Add additional query parameters to the request
@@ -245,12 +249,14 @@ def create(
245249 "description" : description ,
246250 "instruction" : instruction ,
247251 "knowledge_base_uuid" : knowledge_base_uuid ,
252+ "model_provider_key_uuid" : model_provider_key_uuid ,
248253 "model_uuid" : model_uuid ,
249254 "name" : name ,
250255 "openai_key_uuid" : openai_key_uuid ,
251256 "project_id" : project_id ,
252257 "region" : region ,
253258 "tags" : tags ,
259+ "workspace_uuid" : workspace_uuid ,
254260 },
255261 agent_create_params .AgentCreateParams ,
256262 ),
@@ -302,12 +308,14 @@ def update(
302308 path_uuid : str ,
303309 * ,
304310 agent_log_insights_enabled : bool | Omit = omit ,
311+ allowed_domains : SequenceNotStr [str ] | Omit = omit ,
305312 anthropic_key_uuid : str | Omit = omit ,
306313 conversation_logs_enabled : bool | Omit = omit ,
307314 description : str | Omit = omit ,
308315 instruction : str | Omit = omit ,
309316 k : int | Omit = omit ,
310317 max_tokens : int | Omit = omit ,
318+ model_provider_key_uuid : str | Omit = omit ,
311319 model_uuid : str | Omit = omit ,
312320 name : str | Omit = omit ,
313321 openai_key_uuid : str | Omit = omit ,
@@ -331,6 +339,9 @@ def update(
331339 response body is a JSON object containing the agent.
332340
333341 Args:
342+ allowed_domains: Optional list of allowed domains for the chatbot - Must use fully qualified
343+ domain name (FQDN) such as https://example.com
344+
334345 anthropic_key_uuid: Optional anthropic key uuid for use with anthropic models
335346
336347 conversation_logs_enabled: Optional update of conversation logs enabled
@@ -348,6 +359,8 @@ def update(
348359 or output, set as a number between 1 and 512. This determines the length of each
349360 response.
350361
362+ model_provider_key_uuid: Optional Model Provider uuid for use with provider models
363+
351364 model_uuid: Identifier for the foundation model.
352365
353366 name: Agent name
@@ -391,12 +404,14 @@ def update(
391404 body = maybe_transform (
392405 {
393406 "agent_log_insights_enabled" : agent_log_insights_enabled ,
407+ "allowed_domains" : allowed_domains ,
394408 "anthropic_key_uuid" : anthropic_key_uuid ,
395409 "conversation_logs_enabled" : conversation_logs_enabled ,
396410 "description" : description ,
397411 "instruction" : instruction ,
398412 "k" : k ,
399413 "max_tokens" : max_tokens ,
414+ "model_provider_key_uuid" : model_provider_key_uuid ,
400415 "model_uuid" : model_uuid ,
401416 "name" : name ,
402417 "openai_key_uuid" : openai_key_uuid ,
@@ -767,12 +782,14 @@ async def create(
767782 description : str | Omit = omit ,
768783 instruction : str | Omit = omit ,
769784 knowledge_base_uuid : SequenceNotStr [str ] | Omit = omit ,
785+ model_provider_key_uuid : str | Omit = omit ,
770786 model_uuid : str | Omit = omit ,
771787 name : str | Omit = omit ,
772788 openai_key_uuid : str | Omit = omit ,
773789 project_id : str | Omit = omit ,
774790 region : str | Omit = omit ,
775791 tags : SequenceNotStr [str ] | Omit = omit ,
792+ workspace_uuid : str | Omit = omit ,
776793 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
777794 # The extra values given here take precedence over values defined on the client or passed to this method.
778795 extra_headers : Headers | None = None ,
@@ -809,6 +826,8 @@ async def create(
809826
810827 tags: Agent tag to organize related resources
811828
829+ workspace_uuid: Identifier for the workspace
830+
812831 extra_headers: Send extra headers
813832
814833 extra_query: Add additional query parameters to the request
@@ -827,12 +846,14 @@ async def create(
827846 "description" : description ,
828847 "instruction" : instruction ,
829848 "knowledge_base_uuid" : knowledge_base_uuid ,
849+ "model_provider_key_uuid" : model_provider_key_uuid ,
830850 "model_uuid" : model_uuid ,
831851 "name" : name ,
832852 "openai_key_uuid" : openai_key_uuid ,
833853 "project_id" : project_id ,
834854 "region" : region ,
835855 "tags" : tags ,
856+ "workspace_uuid" : workspace_uuid ,
836857 },
837858 agent_create_params .AgentCreateParams ,
838859 ),
@@ -884,12 +905,14 @@ async def update(
884905 path_uuid : str ,
885906 * ,
886907 agent_log_insights_enabled : bool | Omit = omit ,
908+ allowed_domains : SequenceNotStr [str ] | Omit = omit ,
887909 anthropic_key_uuid : str | Omit = omit ,
888910 conversation_logs_enabled : bool | Omit = omit ,
889911 description : str | Omit = omit ,
890912 instruction : str | Omit = omit ,
891913 k : int | Omit = omit ,
892914 max_tokens : int | Omit = omit ,
915+ model_provider_key_uuid : str | Omit = omit ,
893916 model_uuid : str | Omit = omit ,
894917 name : str | Omit = omit ,
895918 openai_key_uuid : str | Omit = omit ,
@@ -913,6 +936,9 @@ async def update(
913936 response body is a JSON object containing the agent.
914937
915938 Args:
939+ allowed_domains: Optional list of allowed domains for the chatbot - Must use fully qualified
940+ domain name (FQDN) such as https://example.com
941+
916942 anthropic_key_uuid: Optional anthropic key uuid for use with anthropic models
917943
918944 conversation_logs_enabled: Optional update of conversation logs enabled
@@ -930,6 +956,8 @@ async def update(
930956 or output, set as a number between 1 and 512. This determines the length of each
931957 response.
932958
959+ model_provider_key_uuid: Optional Model Provider uuid for use with provider models
960+
933961 model_uuid: Identifier for the foundation model.
934962
935963 name: Agent name
@@ -973,12 +1001,14 @@ async def update(
9731001 body = await async_maybe_transform (
9741002 {
9751003 "agent_log_insights_enabled" : agent_log_insights_enabled ,
1004+ "allowed_domains" : allowed_domains ,
9761005 "anthropic_key_uuid" : anthropic_key_uuid ,
9771006 "conversation_logs_enabled" : conversation_logs_enabled ,
9781007 "description" : description ,
9791008 "instruction" : instruction ,
9801009 "k" : k ,
9811010 "max_tokens" : max_tokens ,
1011+ "model_provider_key_uuid" : model_provider_key_uuid ,
9821012 "model_uuid" : model_uuid ,
9831013 "name" : name ,
9841014 "openai_key_uuid" : openai_key_uuid ,
0 commit comments