Use local Ollama in DSH with Ollama native API and params support.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:orzgithub/dsh-ollama
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | 中文
A DeepSeek Harness plugin for local AI models via Ollama native protocol.
Features
- Ollama Native API — Uses
/api/chatNDJSON streaming directly, no OpenAI-compatible bridge needed - Model Management — Browse installed models, pull new ones, view details, remove
- Configurable Parameters — Adjust Ollama-specific params like Temperature, Top K/P, Mirostat, Seed, thinking mode, and more
- GUI Configuration — All settings managed through the DSH Plugins page, no manual config files
Installation
Install the plugin into a DSH profile (the Web profile is usually named web):
dsh plugin --profile <your profile, usually web> add github:orzgithub/dsh-ollama#0.1.2
For example, into the web profile:
dsh plugin --profile web add github:orzgithub/dsh-ollama#0.1.2
#0.1.2 pins the release tag — omit it to follow the repository's default branch. Restart DSH afterwards; the Ollama card then appears on the sidebar Plugins page.
Prerequisites
- Ollama installed and running (default:
http://127.0.0.1:11434) - DeepSeek Harness v0.17+
Configuration
All configuration is done through the DSH GUI:
- Open the sidebar Plugins page and use the Ollama bundle card
- Connection — Set your Ollama server address and test connectivity
- Installed Models — View, inspect, and remove models
- Pull Model — Download new models by name (e.g.
llama3.1:8b) - Parameters — Tune Ollama-specific generation parameters (click "Ollama Params" button in the chat input area when an Ollama model is active)
Configurable Parameters
| Parameter | Description |
|---|---|
| Temperature | Sampling temperature (0–2) |
| Seed | Random seed for reproducibility |
| Top K / Top P / Min P | Nucleus sampling controls |
| Repeat Penalty / Repeat Last N | Repetition penalty settings |
| Frequency / Presence Penalty | Token penalty controls |
| Mirostat / Mirostat Tau / Mirostat Eta | Mirostat adaptive sampling |
| TFS Z / Typical P | Alternative sampling methods |
Max Tokens (num_predict) |
Maximum output tokens |
Context Length (num_ctx) |
Context window size |
| Stop Sequences | Comma-separated stop tokens |
| Thinking | Enable/disable Ollama thinking mode |
License
GPL-3.0
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 86248
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 1981
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 1020
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 639
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
XDTrees/dsh-workbuddy-xdpool★ 617
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 617
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.