[GH-ISSUE #15339] Ollama + Claude Code gemma4 doesn't seems able to write files #9813

Closed
opened 2026-04-12 22:41:09 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @fanto88 on GitHub (Apr 5, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15339

What is the issue?

Hi,

i'm actually trying to setup Ollama + Claude code to use Gemma4:26b model locally. The model answer, the problem is that doesn't seems able to edit or write files on the disk, so i cannot actually edit my projects files.

Image

Did i setup something wrong? What info can i give you to try troubleshooting the problem?

Thanks,
Davide

Relevant log output


OS

WSL2

GPU

Nvidia

CPU

AMD

Ollama version

No response

Originally created by @fanto88 on GitHub (Apr 5, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15339 ### What is the issue? Hi, i'm actually trying to setup Ollama + Claude code to use Gemma4:26b model locally. The model answer, the problem is that doesn't seems able to edit or write files on the disk, so i cannot actually edit my projects files. <img width="1852" height="660" alt="Image" src="https://github.com/user-attachments/assets/4e2bdae5-fe02-46b4-9229-804f5e5f8862" /> Did i setup something wrong? What info can i give you to try troubleshooting the problem? Thanks, Davide ### Relevant log output ```shell ``` ### OS WSL2 ### GPU Nvidia ### CPU AMD ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 22:41:09 -05:00
Author
Owner

@fanto88 commented on GitHub (Apr 5, 2026):

The problem was just the context windows size

<!-- gh-comment-id:4188803375 --> @fanto88 commented on GitHub (Apr 5, 2026): The problem was just the context windows size
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9813