Add Qwen3-VL-4B-Instruct to tool call parser map#1906
Open
Conversation
Without this entry, tool_call_parser resolves to None for Qwen3-VL models when set to "auto", causing vLLM to reject tool call requests with 400 errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
|
let's add all Qwen3-VL models while we are at it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
Qwen/Qwen3-VL-4B-InstructtoMODEL_TOOL_CALL_PARSERwithhermesparser.Without this,
tool_call_parser = "auto"resolves toNonefor Qwen3-VL models, causing vLLM to reject tool call requests with 400 errors.Note
Low Risk
Low risk: a single mapping entry change that only affects tool-calling behavior when
tool_call_parser="auto"is used for this specific model.Overview
Adds
Qwen/Qwen3-VL-4B-InstructtoMODEL_TOOL_CALL_PARSERwith thehermestool-call parser soresolve_tool_call_parser()can auto-select a parser for this model (avoidingNoneand resulting tool-call request failures whentool_call_parseris set to"auto").Written by Cursor Bugbot for commit 26ef5e2. This will update automatically on new commits. Configure here.