Skip to content

Commit 731ea27

Browse files
committed
wip
1 parent ecbf359 commit 731ea27

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • ai21/clients/studio/resources/agents

ai21/clients/studio/resources/agents/agents.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ def modify(
116116
self,
117117
agent_id: str,
118118
*,
119-
name: Union[str, NotGiven] = NOT_GIVEN,
120-
description: Union[str, NotGiven] = NOT_GIVEN,
121-
models: Union[List[str], NotGiven] = NOT_GIVEN,
119+
name: str | NotGiven = NOT_GIVEN,
120+
description: str | NotGiven = NOT_GIVEN,
121+
models: List[str] | NotGiven = NOT_GIVEN,
122122
tools: Union[List[Dict[str, Any]], NotGiven] = NOT_GIVEN,
123-
tool_resources: Union[Dict[str, Any], NotGiven] = NOT_GIVEN,
124-
requirements: Union[List[AgentRequirement], NotGiven] = NOT_GIVEN,
125-
budget: Union[BudgetLevel, NotGiven] = NOT_GIVEN,
126-
visibility: Union[Visibility, NotGiven] = NOT_GIVEN,
127-
response_language: Union[ResponseLanguage, NotGiven] = NOT_GIVEN,
123+
tool_resources: Dict[str, Any] | NotGiven = NOT_GIVEN,
124+
requirements: List[AgentRequirement] | NotGiven = NOT_GIVEN,
125+
budget: BudgetLevel | NotGiven = NOT_GIVEN,
126+
visibility: Visibility | NotGiven = NOT_GIVEN,
127+
response_language: ResponseLanguage | NotGiven = NOT_GIVEN,
128128
**kwargs,
129129
) -> Agent:
130130
"""Modify an existing agent"""

0 commit comments

Comments
 (0)