You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
File system operations fail on windows with azure provider #4374
File system operations on windows do not work after using own agent in yaml notation with azure based model
With write and edit set to true, the agent will say, that he cannot write to a file.
With bash set to true, it will state, that everything works, but do nothing.
When changing the model manually to opencode/Big Pickle inside the agent and trying again, the file is written.
Expected behaviour: File access permissions should not depend on provider/model selection
OpenCode version
1.0.67
Steps to reproduce
create agent in yaml-format in appropriate folder with tool permissions write: true, edit: true, bash: false
set model to azure/gpt-5-chat in yaml (or whatever is in your deployment)
Here is the agent file, located in %USERPROFILE%\.config\opencode\agent: strategy.md
I provided the answer as screenshot. As you can see, the file is not written. The agent claims not to have direct file-write access. When changing manually to opencode/big-pickle via the /model command the writing works.
Activity
rekram1-node commentedon Nov 16, 2025
@joov can you show me your agent definition please?
joov commentedon Nov 17, 2025
Here is the agent file, located in
%USERPROFILE%\.config\opencode\agent: strategy.mdI provided the answer as screenshot. As you can see, the file is not written. The agent claims not to have direct file-write access. When changing manually to opencode/big-pickle via the
/modelcommand the writing works.