Skip to content

[Bugfix]: Fix Step3ReasoningParser missing is_reasoning_end_streaming#31969

Merged
DarkLight1337 merged 1 commit intovllm-project:mainfrom
chaunceyjiang:step3_reasoning_end_stream
Jan 8, 2026
Merged

[Bugfix]: Fix Step3ReasoningParser missing is_reasoning_end_streaming#31969
DarkLight1337 merged 1 commit intovllm-project:mainfrom
chaunceyjiang:step3_reasoning_end_stream

Conversation

@chaunceyjiang
Copy link
Collaborator

@chaunceyjiang chaunceyjiang commented Jan 8, 2026

Purpose

Follow up #30056

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
@chaunceyjiang chaunceyjiang requested a review from aarnphm as a code owner January 8, 2026 12:53
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly fixes a bug in Step3ReasoningParser by implementing the is_reasoning_end_streaming method. The previous default implementation inherited from the base class was not suitable for streaming scenarios. The new implementation correctly checks for the end token only within the delta_ids, which is the efficient and correct approach for streaming. The change is sound and aligns with the implementation in other similar parsers within the codebase. The fix is approved.

@chaunceyjiang chaunceyjiang added the ready ONLY add when PR is ready to merge/full CI is needed label Jan 8, 2026
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) January 8, 2026 13:48
@DarkLight1337 DarkLight1337 merged commit eaba8ec into vllm-project:main Jan 8, 2026
49 checks passed
yugong333 pushed a commit to yugong333/vllm that referenced this pull request Jan 9, 2026
akh64bit pushed a commit to akh64bit/vllm that referenced this pull request Jan 16, 2026
dsuhinin pushed a commit to dsuhinin/vllm that referenced this pull request Jan 21, 2026
…vllm-project#31969)

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
ItzDEXX pushed a commit to ItzDEXX/vllm that referenced this pull request Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants