From ebd7a9a9b9c0c391c0264601149b4429a30cb1c3 Mon Sep 17 00:00:00 2001 From: Google Team Member Date: Tue, 24 Feb 2026 15:47:36 -0800 Subject: [PATCH] chore: Update comments PiperOrigin-RevId: 874826339 --- google/genai/_interactions/types/tool_choice_config.py | 4 +--- google/genai/_interactions/types/tool_choice_config_param.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/google/genai/_interactions/types/tool_choice_config.py b/google/genai/_interactions/types/tool_choice_config.py index 19305e7db..a89290426 100644 --- a/google/genai/_interactions/types/tool_choice_config.py +++ b/google/genai/_interactions/types/tool_choice_config.py @@ -24,7 +24,5 @@ class ToolChoiceConfig(BaseModel): - """The tool choice configuration containing allowed tools.""" - allowed_tools: Optional[AllowedTools] = None - """The allowed tools.""" + """The configuration for allowed tools.""" diff --git a/google/genai/_interactions/types/tool_choice_config_param.py b/google/genai/_interactions/types/tool_choice_config_param.py index 187f57d5c..07b57936f 100644 --- a/google/genai/_interactions/types/tool_choice_config_param.py +++ b/google/genai/_interactions/types/tool_choice_config_param.py @@ -25,7 +25,5 @@ class ToolChoiceConfigParam(TypedDict, total=False): - """The tool choice configuration containing allowed tools.""" - allowed_tools: AllowedToolsParam - """The allowed tools.""" + """The configuration for allowed tools."""