continuedev / continuedev/continue

Qwen3-Coder 30B on Ollama returns tool calls as plain text instead of executing them

Open
#13,057 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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
## Environment

* Continue: 2.0.0
* VS Code: 1.130.0
* Ollama: 0.32.5
* Model: `qwen3-coder:30b`
* Provider: Ollama
* OS: Windows 10 (VS Code)
* Ollama running in Docker on Linux

## Configuration


models:
  - name: Qwen3 Coder 30B
    provider: ollama
    model: qwen3-coder:30b
    apiBase: http://api.com
Description

Summary

When using Continue 2.0.0 with Ollama 0.32.5 and qwen3-coder:30b, tool calls are returned as plain text instead of being executed by Continue.

To reproduce

Reproduction

Prompt:

Create a file called test.txt with the content hello.

Expected behavior:

Continue should execute the create_new_file tool and create the file.

Actual behavior:

The model responds with:

I'll create a file called test.txt with the content "hello".

<function=create_new_file>
<parameter=filepath> test.txt
<parameter=contents> hello

The tool call is rendered as plain text and is never executed.

Additional information

  • ollama show qwen3-coder:30b reports:
Capabilities
  completion
  tools
  • The same workflow works correctly with another model (Gemma 4). Continue executes the tool and creates the file successfully.

This suggests a compatibility issue between Continue's tool-calling implementation and qwen3-coder:30b on Ollama.

Log output

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 reported prompt with Continue 2.0.0, Ollama 0.32.5, and qwen3-coder:30b, comparing its output with Gemma 4. Inspect Continue's Ollama and tool-calling path; the fix is complete when the Qwen response is recognized as a tool call and creates test.txt instead of rendering the call as text.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.