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
[–] 1 point 1 week ago

A quick test to make sure opencode is working fine, first make sure you're in Build mode by pressing TAB until you see Build. Then prompt:

Write today's date/time to `today.md`

if it fails to run date then writing today.md correctly in current directory, then the model is most likely not able to do tool calling.

  • source
  • parent