Skip to content

fix(openai): support "reasoning" field alias in streaming deltas#7294

Merged
DOsinga merged 1 commit intoblock:mainfrom
rabi:resoning_vllm
Feb 18, 2026
Merged

fix(openai): support "reasoning" field alias in streaming deltas#7294
DOsinga merged 1 commit intoblock:mainfrom
rabi:resoning_vllm

Conversation

@rabi
Copy link
Contributor

@rabi rabi commented Feb 18, 2026

Summary

Add serde alias so both "reasoning" (vLLM, see vllm-project/vllm#27752) and "reasoning_content" (DeepSeek, SGLang etc) are recognized in streaming deltas. Once "reasoning" becomes the standard, it could become the primary field name.

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

Testing

Tested locally with vllm.

Add serde alias so both "reasoning" (vLLM, see vllm-project/vllm#27752)
and "reasoning_content" (DeepSeek, SGLang) are recognized in streaming
deltas. Once "reasoning" becomes the standard, it should become the
primary field name.

Change-Id: Ie24a7624903e9243c470783b0f482e2cdbf8b26c
Signed-off-by: rabi <ramishra@redhat.com>
@DOsinga DOsinga added this pull request to the merge queue Feb 18, 2026
Merged via the queue into block:main with commit ed187db Feb 18, 2026
19 checks passed
aharvard added a commit that referenced this pull request Feb 18, 2026
* origin/main:
  feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277)
  fix(openai): support "reasoning" field alias in streaming deltas (#7294)
  fix(ui): revert app-driven iframe width and send containerDimensions per ext-apps spec (#7300)
  New OpenAI event (#7301)
  ci: add fork guards to scheduled workflows (#7292)
  fix: allow ollama input limit override (#7281)
  chore: show important keys for provider configuration (#7265)
  fix: subrecipe relative path with summon (#7295)
  fix extension selector not displaying the correct enabled extensions (#7290)
  Use the working dir from the session (#7285)
  Fix: Minor logging uplift for debugging of prompt injection mitigation (#7195)
  feat(otel): make otel logging level configurable (#7271)
  docs: add documentation for Top Of Mind extension (#7283)
  Document gemini 3 thinking levels (#7282)
  docs: stream subagent tool calls (#7280)
  Docs: delete custom provider in desktop (#7279)

# Conflicts:
#	ui/desktop/src/components/McpApps/McpAppRenderer.tsx
jh-block added a commit that referenced this pull request Feb 18, 2026
* origin/main:
  docs: remove ALPHA_FEATURES flag from documentation (#7315)
  docs: escape variable syntax in recipes (#7314)
  docs: update OTel environment variable and config guides (#7221)
  docs: system proxy settings (#7311)
  docs: add Summon extension tutorial and update Skills references (#7310)
  docs: agent session id (#7289)
  fix(gemini-cli): restore streaming lost in #7247 (#7291)
  Update more instructions (#7305)
  feat: add Moonshot and Kimi Code declarative providers (#7304)
  fix(cli): handle Reasoning content and fix streaming thinking display (#7296)
  feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277)
  fix(openai): support "reasoning" field alias in streaming deltas (#7294)
  fix(ui): revert app-driven iframe width and send containerDimensions per ext-apps spec (#7300)
  New OpenAI event (#7301)
  ci: add fork guards to scheduled workflows (#7292)
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

Comments