Skip to content

Conversation

MuhammedSuhaib
Copy link

  • Expanded the docstring for ModelSettings.tool_choice.
  • Documented all valid values supported by the ToolChoice type alias:
    • "auto" (default) → let the model decide.
    • "required" → must call some tool.
    • "none" → forbid tool calls.
    • "<tool_name>" → force a specific tool by name.
    • MCPToolChoice → advanced structured config.
    • None → provider defaults.
  • Aligns SDK docs with the actual ToolChoice type definition.

@seratch
Copy link
Member

seratch commented Aug 24, 2025

Let us close this due to the same reason I mentioned for your other PRs.

@seratch seratch closed this Aug 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants