You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to use apiKey with local models endpoint? #738
Activity
antonpetrovmain commentedon Jul 7, 2025
The above config is actually working, I had the config file in the wrong place, sorry.
thetloffline commentedon Jul 7, 2025
@antonpetrovmain Can you also provide the correct location where the config file should be.
antonpetrovmain commentedon Jul 7, 2025
https://opencode.ai/docs/config/
suwhs commentedon Jul 17, 2025
same error. Opencode TUI totally ignores config and try to use Llama Llama-4-Scout-17B-16E-Instruct-FP8
my config:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"llama3.1": {}
}
}
}
}