NOirBRight/dsh-llm-ollama

NOirBRight★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

Native Ollama Cloud provider and Web configuration plugin for DeepSeek Harness

README 摘要

dsh-llm-ollama English 中文 Ollama Cloud native chat adapter for the harness LLM seam: direct fetch + NDJSON (newline-delimited JSON) translating the Ollama native /api/chat wire format into the StreamChunk protocol. Model discovery uses the public endpoint's /api/tags response, deduplicates native tag ids, and uses /api/show for context windows and capabilities (vision, thinking, tools) that the OpenAI-compatible /v1/models listing does not provide. The same Host plugin also registers Ollama's /api/web search and /api/web fetch as providers in the harness web capability seam under the id ollama-cloud . The package root exposes the Cordis plugin contract and OllamaAdapter ; wire serialization, NDJSON parsing, and chunk translation helpers are not part of that root contract. The same npm artifact also exports ./client , a Web client plugin that contributes one Ollama Cloud card to Settings → Plugins → Plugin configuration . No Harness core package or profile patch requires modification. Installation DeepSeek Harness 0.1.0-rc.6 or later is required. Install directly from GitHub: After an npm release, dsh plugin --profile web add dsh-llm-ollama installs the same package from the registr…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdsh-pluginsearchvision

分类