What Happened
- This change fixes a compatibility gap in DeepSeek tool-calling requests by adding auto-detection for `api.deepseek.com` models that route to `deepseek-reasoner` (such as `deepseek-v4-flash` and `deepseek-r1`-style IDs), then enabling a compat flag that removes `reasoning`/`reasoning_effort` whenever `tools` are present in the request, which prevents the reproduced 400 rejection path while keeping `deepseek-v4-pro` behavior unchanged.
- This change fixes a compatibility gap in DeepSeek tool-calling requests by adding auto-detection for `api.deepseek.com` models that route to `deepseek-reasoner` (such as `deepseek-v4-flash` and `deepseek-r1`-style IDs), then enabling a compat flag that removes `reasoning`/`reasoning_effort` whenever `tools` are present in the request, which prevents the reproduced 400 rejection path while keeping `deepseek-v4-pro` behavior unchanged.
- 1 evidence item attached for review.