wenzetan/dsh-llm-newapi

wenzetan★ 2TypeScript最后同步: 2026-08-15

在 GitHub 打开

NewAPI (OpenAI-compatible gateway) LLM provider plugin for DeepSeek Harness (dsh): chat-only model discovery + Web settings section. Zero dsh modifications.

README 摘要

dsh-llm-newapi English 中文 An LLM provider plugin that adds NewAPI to DeepSeek Harness (dsh). Zero modifications to dsh itself. - Provider route id: newapi - Display name: NewAPI - Shape: LLM Provider plugin — implements the LlmAdapter seam from @deepseek-ai/dsh-llm ; NewAPI is an OpenAI-compatible gateway ( POST {baseURL}/chat/completions , GET {baseURL}/models , baseURL includes /v1 ) - Dual-face structure: host side (adapter + model discovery) + browser side (a "NewAPI" settings page in the dsh web settings panel, including "Fetch model info") Design decisions and trade-off analysis live in DESIGN.md; reference implementation: deepseek-harness/packages/llm/llm-deepseek . Installation (dsh ≥ 0.1.0-rc) Release channels and version selection The project uses a dual release channel . Install from the npm registry (default) or a versioned tag ; never from the main branch HEAD: Channel Version shape Install reference When to use Stable (recommended) vX.Y.Z dsh plugin --profile web add dsh-llm-newapi (npm latest ) or github:wenzetan/dsh-llm-newapi latest Daily use; passed all gates and promoted after manual confirmation Prerelease vX.Y.Z-rc.N etc. dsh plugin --profile web add dsh-llm-ne…

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

分类