Skip to content

Add qwen3_next to tool call format inference#166

Open
alankessler wants to merge 1 commit intoml-explore:mainfrom
alankessler:fix-qwen3next-tool-format
Open

Add qwen3_next to tool call format inference#166
alankessler wants to merge 1 commit intoml-explore:mainfrom
alankessler:fix-qwen3next-tool-format

Conversation

@alankessler
Copy link
Copy Markdown
Contributor

Fixes #161.

Qwen3-Next uses the same XML tool call format as Qwen3.5 but wasn't in the prefix list, so tool calls were silently dropped. Added the prefix check and a test case.

The Qwen3-Next family uses the same XML tool call format as Qwen3.5
but wasn't recognized by ToolCallFormat.infer(), so tool calls were
silently lost.

Fixes ml-explore#161.
@alankessler alankessler force-pushed the fix-qwen3next-tool-format branch from 71f5da1 to 05a6869 Compare March 28, 2026 00:44
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.

[BUG] Qwen3-Next Family Uses Incorrect Tool Call Format

1 participant