Skip to content

Conversation

@FoolPlayer
Copy link
Contributor

@FoolPlayer FoolPlayer commented Aug 25, 2025

Purpose

fix seed-oss-parser

Test Plan

Test Result

(Optional) Documentation Update


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.

Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
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 addresses a critical bug in the seed-oss-parser. Previously, an UnboundLocalError would occur in extract_tool_calls if the model output did not contain <seed:think> tags, as result_content and thinking_content variables would not be initialized. The fix correctly handles this scenario by adding an else block to initialize these variables. The corresponding test case has been updated to validate this fix by removing the thinking tags from the model output. The changes are correct and effectively resolve the issue.

@simon-mo simon-mo merged commit 959783f into vllm-project:main Aug 26, 2025
12 of 14 checks passed
tc-mb pushed a commit to tc-mb/vllm that referenced this pull request Aug 27, 2025
Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
Signed-off-by: tc-mb <caitianchi@modelbest.cn>
epwalsh pushed a commit to epwalsh/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
xiao-llm pushed a commit to xiao-llm/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
Signed-off-by: Xiao Yu <xiao.yu@amd.com>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Sep 3, 2025
Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
FeiDaLI pushed a commit to FeiDaLI/vllm that referenced this pull request Sep 25, 2025
Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants