ollama - 💡(How to fix) Fix opencode: qwen3.5 responds with irrelevant answers when launched via ollama

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Issue Description

Problem 1

Start opencode with ollama launch opencode --model qwen3.5, input a prompt, but the response is irrelevant to the question. However, ollama run qwen3.5 works fine.

Problem 2

Why does opencode still prompt that the model you selected (e.g., gemma3) does not support tools and cannot be used normally, even when tools are not needed?

Steps to Reproduce

  1. Run: ollama launch opencode --model qwen3.5
  2. Enter any prompt
  3. Observe irrelevant response

Expected Behavior

The model should respond correctly to the prompt.

Additional Info

  • ollama run qwen3.5 works as expected
  • Models without tool support (e.g., gemma3) fail despite no tools required in the task
  • Is this an opencode issue or an ollama issue? (The Ollama-cloud/qwen3.5 model works fine.)

Environment

  • Ollama version: 0.24.0
  • opencode version: 1.15.7
  • macOS version: 26.4.1
<img width="494" height="467" alt="Image" src="https://github.com/user-attachments/assets/39795850-e666-4a63-a6f6-b4abcfca3049" />

Relevant log output

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.24.0

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

ollama - 💡(How to fix) Fix opencode: qwen3.5 responds with irrelevant answers when launched via ollama