Commits
Click on a commit to change the comparison rangeopenai: support reasoning_content in streaming delta chunks
This change adds support for the reasoning_content field in streaming
delta chunks from the Chat Completions API. This field is used by:
- LiteLLM when proxying Gemini models with reasoning_effort enabled
- DeepSeek reasoning models (deepseek-reasoner)
- vLLM with reasoning parser enabled
- Other OpenAI-compatible providers that support reasoning/thinking output
The reasoning_content is stored in additional_kwargs, consistent with
how the Responses API handles reasoning content.
Fixes #29513, #31326, #32981, #30580