jwilson411/dsh-llamacpp0

dsh-llamacpp

DeepSeek Harness LLM adapter plugin for a local llama.cpp server over its OpenAI-compatible /v1/chat/completions API.

包名
dsh-llamacpp
版本
0.1.0
许可证
MIT
最近更新
2026年8月29日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jwilson411/dsh-llamacpp

Configuration

KeyEnv fallbackDefault
baseURLDSH_LLAMACPP_BASE_URLhttp://127.0.0.1:8080/v1
modelDSH_LLAMACPP_MODELqwen
apiKeyDSH_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