When using Claude Code, tool calls end up broken with this chat template in Qwen3.6-27B

#6
by mancub - opened

I get things like:

InputValidationError: Bash failed due to the following issue:
The required parameter command is missing

InputValidationError: ScheduleWakeup failed due to the following issues:
The required parameter delaySeconds is missing
The required parameter reason is missing
The required parameter prompt is missing

InputValidationError: TodoWrite failed due to the following issue:
The required parameter todos is missing

InputValidationError: AskUserQuestion failed due to the following issue:
The required parameter questions is missing

Have not had issues in the past that I remember with the original chat_template, especially not like this.

On the other hand, maybe it was CC VSCode version. I just upgraded to the latest one (2.1.137) and CC says tools are now working, go figure.

They worked when I started my session tonight too, but then after awhile tstopped and CC couldn't do anything. So not sure whether this would be attributed to the chat template or something else.

EDIT: spoke too soon, after awhile the tool calling stops working correctly and eventually CC can't do anything. Will revert back to the original chat template and see if that makes a difference.

I have tried to fix it in v10, please test.

thanks for looking into this.

it seems v10 has Thinking on without an ability to turn it off. I explicitly turn thinking off in vllm startup arguments yet the model still keeps thinking whether I like it or not. :(

I also see multiple (think) (/think) in my chat window at random.

Sign up or log in to comment