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."""