Skip to content

Commit 2645ee4

Browse files
Merge branch 'main' into fix/mcp-boolean-additional-properties
2 parents 8940ffb + e12c163 commit 2645ee4

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)