Repository navigation
v0.1.0
·
7 commits
to main
since this release
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
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}",
},
},
},
}
{ "$schema": "https://opencode.ai/config.json", "plugins": ["opencode-llamacpp-provider@0.1.0"], }