Description
If I use opencode with BigPickle it works. If I use it with any Ollama model whether local or cloud, it is not able to see files.
I know that ollama does allow tool calling, and have even programmed it myself, so there must be a bug in opencode that doesn't work with ollama.
On linux.
OpenCode version
1.0.164
Steps to reproduce
-
Install ollama
-
ollama run nemotron-3-nano:30b-cloud
-
edit ~/.opencode/opencode.json and add
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"nemotron-3-nano:30b-cloud":{
"name": "nemotron-3-nano-cloud"
}
}
run it and have it write a hello world program or look at a hello world program. Can do it. Should be able to.
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
If I use opencode with BigPickle it works. If I use it with any Ollama model whether local or cloud, it is not able to see files.
I know that ollama does allow tool calling, and have even programmed it myself, so there must be a bug in opencode that doesn't work with ollama.
On linux.
OpenCode version
1.0.164
Steps to reproduce
Install ollama
ollama run nemotron-3-nano:30b-cloud
edit ~/.opencode/opencode.json and add
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
}
run it and have it write a hello world program or look at a hello world program. Can do it. Should be able to.
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response