dsh-llamacpp
DeepSeek Harness LLM adapter plugin for a local llama.cpp server over its OpenAI-compatible /v1/chat/completions API.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jwilson411/dsh-llamacpp说明文档
阅读完整 README ↗Configuration
| Key | Env fallback | Default |
|---|---|---|
baseURL | DSH_LLAMACPP_BASE_URL | http://127.0.0.1:8080/v1 |
model | DSH_LLAMACPP_MODEL | qwen |
apiKey | DSH_LLAMACPP_API_KEY | (unset — no Authorization header is sent) |
provider | — | ['llamacpp'] |
The patch row wins over the environment; the environment fills in whatever the row leaves out. An exported-but-empty variable counts as unset.
baseURL already includes /v1, and requests go to ${baseURL}/chat/completions — the /v1 is
never doubled. If your server sits behind a proxy that strips the prefix, set baseURL to the base
the proxy actually serves.
Cordis overlay
To point the plugin at a different server, model, or credential, target the llamacpp id in your
profile overlay. An id-targeted patch replaces the whole config object, so repeat every field
you want, not just the one you are changing:
- id: llamacpp
config:
baseURL: http://127.0.0.1:9090/v1
model: qwen3-coder
apiKey: change-me