ollama - 💡(How to fix) Fix Qwen 3.5:27b and 35b running locally does not perform agentic abiltiies in claude code. [2 comments, 2 participants]

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…
GitHub stats
ollama/ollama#14974Fetched 2026-04-08 01:03:41
View on GitHub
Comments
2
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
commented ×2closed ×1labeled ×1

Code Example

Example conversation:

27B:

In the root of the project directory, create a file named "test.txt" and write "hello" inside of it.

 Write
  hello

You did not write the file. I do not see it.

 I'll check what files exist in the current directory to understand what's happening.

  ls -la

35b:

 ❯ ollama launch claude --model qwen3.5:35b

pulling manifest
pulling 900dde62fb7e: 100% ▕█████████████████████████████████████████████████████████████▏  23 GB
pulling 7339fa418c9a: 100% ▕█████████████████████████████████████████████████████████████▏  11 KB
pulling 9371364b27a5: 100% ▕█████████████████████████████████████████████████████████████▏   65 B
pulling 606ad9f1ecbc: 100% ▕█████████████████████████████████████████████████████████████▏  482 B
verifying sha256 digest
writing manifest
success

Launching Claude Code with qwen3.5:35b...
 ▐▛███▜▌   Claude Code v2.1.80
▝▜█████▛▘  qwen3.5:35b · API Usage Billing
  ▘▘ ▝▝    ~/Repos/Redacted

Opus now defaults to 1M context · 5x more room, same pricing

In the root of the project directory, create a file named "test.txt" and write "hello" inside of it.

 I'll create the test.txt file in the root directory with "hello" inside.

 Cooked for 48s

You did not write the file. I do not see it.

 I need to check what happened with the file. Let me look at the current directory and verify what files exist:

  /home/redacted/Repos/Redacted

RAW_BUFFERClick to expand / collapse

What is the issue?

OS: Arch Linux (Cachy OS) GPU: AMD RX 9070XT CPU: AMD Ryzen 9800X3D

Steps to reproduce:

  1. Install ollama-rocm from the AUR
  2. run ollama launch claude --model qwen3.5:27b
  3. Prompt the model to attempt to do anything that isn't reading files
  4. The prompt will exit and nothing happens. Model stops thinking.

Notes: ollama launch claude --model qwen3.5:cloud DOES work, and can read and write files. It's just all versions that run locally seem to have this issue.

It looks like it's trying to run commands but fails.

Using the recommended "qwen:3.5" that's not cloud based also fails. (I assume it's the 9B variant?)

Relevant log output

Example conversation:

27B:

❯ In the root of the project directory, create a file named "test.txt" and write "hello" inside of it.

● Write
  hello

❯ You did not write the file. I do not see it.

● I'll check what files exist in the current directory to understand what's happening.

  ls -la

35b:

 ❯ ollama launch claude --model qwen3.5:35b

pulling manifest
pulling 900dde62fb7e: 100% ▕█████████████████████████████████████████████████████████████▏  23 GB
pulling 7339fa418c9a: 100% ▕█████████████████████████████████████████████████████████████▏  11 KB
pulling 9371364b27a5: 100% ▕█████████████████████████████████████████████████████████████▏   65 B
pulling 606ad9f1ecbc: 100% ▕█████████████████████████████████████████████████████████████▏  482 B
verifying sha256 digest
writing manifest
success

Launching Claude Code with qwen3.5:35b...
 ▐▛███▜▌   Claude Code v2.1.80
▝▜█████▛▘  qwen3.5:35b · API Usage Billing
  ▘▘ ▝▝    ~/Repos/Redacted

  ↑ Opus now defaults to 1M context · 5x more room, same pricing

❯ In the root of the project directory, create a file named "test.txt" and write "hello" inside of it.

● I'll create the test.txt file in the root directory with "hello" inside.

✻ Cooked for 48s

❯ You did not write the file. I do not see it.

● I need to check what happened with the file. Let me look at the current directory and verify what files exist:

  /home/redacted/Repos/Redacted

OS

Linux

GPU

AMD

CPU

AMD

Ollama version

0.18.2

extent analysis

Fix Plan

To resolve the issue with ollama failing to execute commands locally, we need to modify the ollama configuration to properly handle local file system interactions.

Step 1: Update ollama Configuration

Update the ollama configuration file to include the correct file system permissions and paths. You can do this by running the following command:

ollama config set --filesystem.allow-local-access true

Step 2: Modify claude Model Configuration

Modify the claude model configuration to use the correct qwen model variant. You can do this by running the following command:

ollama launch claude --model qwen3.5:27b --config filesystem.allow-local-access=true

Alternatively, you can update the claude model configuration file to include the correct qwen model variant and file system permissions.

Step 3: Verify File System Permissions

Verify that the ollama process has the correct file system permissions to read and write files in the project directory. You can do this by running the following command:

ls -la /home/redacted/Repos/Redacted

Ensure that the ollama process has write permissions in the project directory.

Verification

To verify that the fix worked, run the following command:

ollama launch claude --model qwen3.5:27b

Then, prompt the model to create a file in the project directory. The model should now be able to create the file and write to it.

Extra Tips

  • Ensure that the ollama process has the correct file system permissions to read and write files in the project directory.
  • Verify that the claude model configuration is correct and includes the correct qwen model variant.
  • If issues persist, try updating the ollama version to the latest available version.

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