Luck9Star/dsh-gateway-provider

插件 ⭐ 0 MIT other

DeepSeek Harness 的通用 LLM 网关提供商插件:newapi / LiteLLM / Higress / 任何兼容 OpenAI 的网关,通过 pi-ai SDK 支持多协议(OpenAI/Anthropic/Gemini),利用 models.dev 增强功能。

catalog 简介:Generic LLM gateway provider plugin for DeepSeek Harness: newapi / LiteLLM / Higress / any OpenAI-compatible gateway, multi-protocol (OpenAI/Anthropic/Gemini) via pi-ai SDK, models.dev enrichment

安装

# 1. Install the plugin (dsh plugin add runs pnpm add under the hood)
dsh plugin --profile web add dsh-gateway-provider

# 2. Store your key — pick ONE of:
#    a) the dsh credentials file (recommended; created with mode 0600, hot-reloaded)
echo "NEWAPI_API_KEY: sk-REPLACE_WITH_YOUR_KEY" >> ~/.dsh/.credentials.yaml
#    b) or export it in the shell you launch dsh from:
#       export NEWAPI_API_KEY=sk-REPLACE_WITH_YOUR_KEY

# 3. Restart and open the settings page
dsh --profile web
# → Settings → Gateway Models

Luck9Star/dsh-gateway-provider 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。