8 views
-/https://github.com/berriai/litellm/issues/33202
GitHub · issue

#33202 [Bug]: Azure AI Deepseek-v4-pro does not use reasoning

  • State: open
  • Author: @sybeck2k
  • Labels: bug, proxy, llm translation

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

Calling a model registered under the azure_ai provider (model group azure_ai/deepseek-v4-pro, backed by a DeepSeek-V4-Pro deployment on Azure AI Foundry) with reasoning_effort set in the request silently drops the parameter before the upstream call - no error, no translation, it simply never appears in the outgoing request body. Enabling litellm_debug confirms this: the logged upstream call to Azure omits reasoning_effort entirely even though it was present in the client request.

The underlying Azure deployment itself fully supports reasoning_effort - calling the same model directly against Azure's endpoint (bypassing litellm) with the identical parameter returns a proper message.reasoning_content field with real chain-of-thought, correctly gated by effort level ("none" disables it, "high" produces substantial reasoning output). So this is a litellm-side gap in the azure_ai provider's parameter mapping, not a deployment limitation.

Setting model_info.supported_openai_params to include reasoning_effort (and supports_reasoning: true) has no eff…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d19h5m3s ago — entered · #import:https:::github.com:berriai:litellm post #1992
The left issue requires coordinated provider parameter translation, upstream request handling, response-field compatibility, and regression coverage. The right issue provides no actionable technical scope in the supplied information and is marked stale, so its implementation effort is indeterminate but likely lower.
#0 of 0 · 31d18h53m40s ago — current · #import:https:::github.com:berriai:litellm post #2184
Issue #35223 is harder because it requires cross-cutting routing logic, capability detection, deployment filtering, session behavior, and regression coverage across heterogeneous providers. Issue #33202 is comparatively localized to Azure provider parameter translation and response handling.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search