continuedev / continuedev/continue

Qwen 3.5 and Gemma 4 can't call tools

Open
#12,131 12 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:tools kind:bug stale
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
- OS: macOS
- Continue version: 1.2.22
- IDE version: 1.115.0
- Model: Qwen 3.5 9B, Gemma 4 26B-A4B
- config:
  
name: Local Config
version: 1.0.0
schema: v1
models:
  - name: Autodetect (1)
    provider: lmstudio
    model: AUTODETECT
    apiBase: http://SERVER_IP:1234/v1
Description

When using the model I loaded on my server from LM Studio on my macbook and VS Code, they are trying to run a tool like that:

Now I need to find the user.js file. Let me search for it.

<tool_call> <function=file_glob_search> <parameter=pattern> **/user.js </tool_call>

But the tool_call is not being registered by Continue and ends up in the thinking part instead which acts up like a message ending.

same for:

read_file failed with the message: File "src/test.vue" does not exist or is not accessible. You might want to check the path and try again.

Please try something else or request further instructions.

that end up in the thinking part with:

<tool_call> <function=edit_existing_file> <parameter=filepath> src/components/Navbar.vue <parameter=changes>
... changes
To reproduce

Load any of these models with reasoning and try using them to modify files with it.

Log output
I can only share the following:

Type: Chat
Result: Success
Prompt Tokens: 5095
Generated Tokens: 0
ThinkingTokens: 4528
Total Time: 61.03s
To First Token: 0.53s
Tokens/s: 74.8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in VS Code using the provided Continue configuration, LM Studio endpoint, and Qwen 3.5 or Gemma 4 model with reasoning enabled. Trace how the shown <tool_call> output is handled and verify that tool calls are registered and executed instead of being placed in the thinking content.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
ai, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.