Hi!, I'm using opencode v0.11.1 with the qwen2.5-coder:7b model via Ollama and it looks like cannot execute external operations, for example:
The task is:
create a file test.sh with one instruction: ls -lah
And the response is:
{ "name": "Write", "arguments": { "file_path": "test.sh", content: "..."}}
And the file wasn't created.
My config is this:
cat ~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen2.5-coder:7b-instruct": {
"name": "qwen2.5-coder"
}
}
}
}
}
Hi!, I'm using opencode v0.11.1 with the qwen2.5-coder:7b model via Ollama and it looks like cannot execute external operations, for example:
The task is:
create a file test.sh with one instruction: ls -lahAnd the response is:
{ "name": "Write", "arguments": { "file_path": "test.sh", content: "..."}}And the file wasn't created.
My config is this: