dsh-local-llm
DeepSeek Harness plugin for local GGUF models without Ollama
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wertyBSd/dsh-local-llm说明文档
阅读完整 README ↗Configuration
Example configuration:
{
"model": "mistral-7b-instruct-v0.3-Q4_K_M.gguf",
"modelPath": "",
"runtimeUrl": "http://127.0.0.1:8080",
"contextSize": 8192,
"autoContextSize": true,
"port": 8080,
"downloadDir": "./models"
}
Parameters:
model- a built-in model name or a direct URL to a.gguffile.modelPath- a path to an existing model file. If omitted, the configured model is downloaded automatically.runtimeUrl- the URL of an OpenAI-compatible local runtime such asllama-server.contextSize- the minimum context size passed tollama-server, in tokens. The default is8192.autoContextSize- automatically choose a model-dependent context size. Enabled by default.port- a plugin configuration value; the Harness web server owns its HTTP port.downloadDir- the model directory. Defaults to./models.
Built-in model names include:
mistral-7b-instruct-v0.3-Q4_K_M.gguf;llama-3-8b-instruct-q4_K_M.gguf;deepseek-coder-6.7b-instruct-q4_K_M.gguf;qwen-2.5-7b-instruct-q4_K_M.gguf.