I was curious about opencode and tried to run it with mistral:7b as well as qwencode3:8b, but it simply couldn't execute a single command.

It was necessary, I think, to be able to execute commands because it kept attempting to write to /home/user. So I told it to run pwd to find out where it was. That always failed.

Was j using a wrong model? Or is opencode just incapable of running commands?

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 week ago*

Ok its the external_directory permission. You set it in you opencode config json file. It should be in your home folders/.config

https://opencode.ai/docs/permissions

I just set "external_directory": "false" and that took care of it

  • source
  • parent