Skip to content

qwen3 provided by ollama failed to call tools #6621

@leozzyzheng

Description

@leozzyzheng

Before submitting your bug report

Relevant environment info

- OS: Windows11 24H2
- Continue version: v
- IDE version: VSCode 1.102.0
- Model: qwen3 8b
- config:

name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: Qwen3 8B
    provider: ollama
    model: qwen3:8b
    apiBase: http://localhost:11434/
    roles:
      - autocomplete
      - chat
      - edit
      - apply
    capabilities:
      - tool_use
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  - provider: url

Description

Continue failed to call tools when using qwen3 provided by ollama, see screenshot in the following.

To reproduce

  1. Config ollama and install qwen3:8b
  2. Config YAML add tool_use
  3. Use Agent mode to ask weather
  4. Never see Continue is generating output to search the web for "weather in New York" completed.
Image

Log output

Metadata

Metadata

Assignees

Labels

area:ollamaRelates to the Ollama providerarea:toolsRelates to tool usageide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windows

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions