Repository navigation
Releases
Releases · florianilch/opencode-llamacpp-provider
v0.2.0
Immutable
release. Only release title and notes can be modified.
Discovery now includes decision models and improved reliability on slower servers.
What's New
- Adds support for decision models.
Bug Fixes
- Improves model discovery reliability by increasing timeouts to 15 seconds.
What's Changed
v0.1.0
Immutable
release. Only release title and notes can be modified.
What's New
opencode-llamacpp-provider is an OpenCode plugin that discovers models from a llama.cpp server.
Usage
opencode plugin add opencode-llamacpp-provider@latest
{
"$schema": "https://opencode.ai/config.json",
"plugins": ["opencode-llamacpp-provider@0.1.0"],
}Provider settings
The default endpoint is http://127.0.0.1:9931/v1. Provider settings are optional. To use another endpoint or an optional API key, set provider settings:
{
"$schema": "https://opencode.ai/config.json",
"plugins": ["opencode-llamacpp-provider@0.1.0"],
"providers": {
"llamacpp": {
"settings": {
"baseURL": "http://127.0.0.1:9931/v1",
"apiKey": "{env:LLAMA_API_KEY}",
},
},
},
}