Skip to content

Commit e12c163

Browse files
google-genai-botcopybara-github
authored andcommitted
chore: Cleanup
PiperOrigin-RevId: 917617669
1 parent 610059b commit e12c163

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

google/genai/_interactions/types/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"ToolMCPServer",
3434
]
3535

36-
BaseEnvironment: TypeAlias = Union[str, Environment]
36+
BaseEnvironment: TypeAlias = Union[Environment, str]
3737

3838

3939
class ToolCodeExecution(BaseModel):

google/genai/_interactions/types/agent_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class AgentCreateParams(TypedDict, total=False):
5656
"""The tools available to the agent."""
5757

5858

59-
BaseEnvironment: TypeAlias = Union[str, EnvironmentParam]
59+
BaseEnvironment: TypeAlias = Union[EnvironmentParam, str]
6060

6161

6262
class ToolCodeExecution(TypedDict, total=False):

0 commit comments

Comments
 (0)