Skip to content

Conversation

@ZeroAurora
Copy link
Contributor

@ZeroAurora ZeroAurora commented Dec 4, 2025

I've been experimenting with DeepSeek v3.2 recently, and find the reasoner model from the official endpoint yields 400 Bad Request when openai_supports_tool_choice_required is not set to False. That is, deepseek-reasoner does not support tool_choice=required, at least for now.

I'm not sure if it's a provider-specific issue or a model characteristic, so I'm changing the provider side.

@ZeroAurora ZeroAurora changed the title Disable use of tool_choice=required for deepseek-reasoner (for now) Disable use of tool_choice=required for official deepseek-reasoner (for now) Dec 4, 2025
@ZeroAurora
Copy link
Contributor Author

The test is a false positive I think

@DouweM DouweM changed the title Disable use of tool_choice=required for official deepseek-reasoner (for now) Disable use of tool_choice=required for deepseek-reasoner Dec 4, 2025
@DouweM DouweM enabled auto-merge (squash) December 4, 2025 16:10
@DouweM DouweM disabled auto-merge December 4, 2025 16:25
@DouweM DouweM merged commit 0164692 into pydantic:main Dec 4, 2025
54 of 58 checks passed
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