Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 20:59
· 7 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.1.0
5bf0be1

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}",
      },
    },
  },
}