I can run this in interactive with debug or with an inline prompt but no matter which way it is ran I get no response and the following error:
{
"data": {
"directory": ".opencode"
},
"providers": {
},
"lsp": {
"go": {
"enabled": false,
"command": "/home/couryrr/go/bin/gopls",
"args": null,
"options": null
}
},
"agents": {
"coder": {
"model": "local.llama3.1:8b",
"maxTokens": 5000,
"reasoningEffort": "high"
},
"summarizer": {
"model": "local.llama3.1:8b",
"maxTokens": 80,
"reasoningEffort": "medium"
},
"task": {
"model": "local.llama3.1:8b",
"maxTokens": 5000,
"reasoningEffort": "high"
},
"title": {
"model": "local.llama3.1:8b",
"maxTokens": 80,
"reasoningEffort": "medium"
}
},
"tui": {
"theme": "opencode"
},
"shell": {
"path": "/bin/bash",
"args": [
"-l"
]
},
"autoCompact": true
}
Issue
I can run this in interactive with debug or with an inline prompt but no matter which way it is ran I get no response and the following error:
Error: agent processing failed: failed to process events: POST "http://localhost:11434/chat/completions": 404 Not Found
Nothing in the ollam doc https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-completion suggest this
http://localhost:11434/chat/completionsis an endpoint.Config
Add the env:
I have a config like so: