opencode
opencode copied to clipboard
Ollama (qwen2.5-coder): tool calls (edit/write) show as executed but no files are created/modified
Description
When using OpenCode with Ollama + qwen2.5-coder, tool calls such as edit / write appear to execute (the JSON tool payload is printed in the output), but no files are actually created or modified on disk.
This affects both /init (which does not create AGENTS.md) and any manual request to create or edit files. Manual file creation using the shell works, confirming the directory is writable. The issue reproduces consistently across sessions and directories.
It appears that tool calls are generated by the model, but are not applied to the filesystem.
Plugins
No response
OpenCode version
1.1.3
Steps to reproduce
-
cdinto a writable directory (verified withtouch test.txt) - Start OpenCode from that directory:
opencode - Ask OpenCode to create a file, for example:
"Create a file named
prueba.txt" - Alternatively, run:
/init - OpenCode prints a tool call (
edit/write), but no file is created on disk.
Screenshot and/or share link
Operating System
macOS 26.2 (Tahoe)
Terminal
macOS Terminal (zsh)