Skip to content

Commit c5aaf19

Browse files
committed
fix(sglang.sh): add --tool-call-parser qwen3_coder to qwen36 preset
Qwen3.6 emits tool calls in the <tool_call><function=NAME><parameter=NAME> XML format (qwen3_coder_detector). Without the parser, sglang left them as raw text content instead of structured tool_calls.
1 parent 4ce51b5 commit c5aaf19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sglang.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ cmd_qwen36_35b_nvfp4() {
638638
--chunked-prefill-size 16384 \
639639
"${spec_args[@]}" \
640640
--reasoning-parser qwen3 \
641+
--tool-call-parser qwen3_coder \
641642
--trust-remote-code \
642643
"${SERVER_ARGS[@]}" \
643644
--served-model-name qwen36 \

0 commit comments

Comments
 (0)