Repository navigation
[Bug]: finish_reason="tool_calls" is returned with an empty tool_calls array when tool_choice="re... - #53258
[Bug]: finish_reason="tool_calls" is returned with an empty tool_calls array when tool_choice="re...#53258SayHelloToWorld wants to merge 1 commit into
Conversation
…oduced\n Auto-fix: require non-empty tool_calls for required tool_choice to set tool_calls finish_reason Fixes vllm-project#53255 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Heads-up for reviewers: this overlaps #53256, which fixes the same issue and was opened ~15 minutes before this one (#53256 at 11:52:55Z, this at 12:07:37Z). The bot's note that "no existing open PR addresses this issue" was not accurate at the time it was written. The code change is the same idea in both. #53256 additionally carries the end-to-end measurement behind the report — unpatched vs patched on the same host and image, with the tool parser off and on — showing I'm the author of both #53255 and #53256, so I have no objection to whichever one a maintainer prefers to take; flagging it only so the same change doesn't get reviewed twice. |
|
@longluubao Ok, I will close this one. |
Fixes #53255
AI-assisted, auto-generated by the vLLM issue bot (Copilot Agent).
No existing open PR addresses this issue (checked before opening).
Summary
What changed
Commit & push
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Next steps for a human maintainer