iceprosurface/dsh-gateway-config
DSH web profile and TapSVC model configuration plugin
gateway-config configures any OpenAI-compatible LLM gateway (any endpoint that serves GET /models) as a DSH provider — one provider route per gateway, multiple gateways side by side. It provides a host gateway_configure tool and a web settings panel (LLM 网关配置) with gateway model discovery via GET /models (non-chat models filtered), per-model reasoning-effort mappings, per-model text/image input capability mappings, and one managed credential per route (<ROUTE>_API_KEY). Fixed presets cover private gateways (cindy, sub2api — addresses read from CINDY_BASE_URL/SUB2API_BASE_URL env or the panel) plus public OpenAI-compatible vendors (deepseek, moonshot, zhipu, qwen, openrouter, siliconflow, xai). Native ChatGPT OAuth is supported for the openai-codex provider with automatic access-token refresh through pi-ai; the settings UI localizes to English or Simplified Chinese following the DSH locale.
Install
dsh plugin --profile web add git+https://github.com/iceprosurface/dsh-gateway-config.gitREADME EN primary (2026-09-02, repo iceprosurface/dsh-gateway-config): install dsh plugin --profile web add https://github.com/iceprosurface/dsh-gateway-config.git (or the git+https form). Registers a host tool + a web settings panel for configuring OpenAI-compatible LLM gateways as DSH providers.
Compatibility
DSH web profile; any OpenAI-compatible endpoint serving GET /models; per-route credentials <ROUTE>_API_KEY; native ChatGPT OAuth for openai-codex via pi-ai.
Details
- Repo: iceprosurface/dsh-gateway-config
- Category: Files & Data
- Stars: 2
- Version: git git+https://github.com/iceprosurface/dsh-gateway-config.git
- Last push: 2026-08-21
- First seen: 2026-08-14
Recent updates
gateway_configure host tool; LLM gateway settings panel; GET /models discovery; per-model reasoning-effort & capability maps; per-route credentials; ChatGPT OAuth for openai-codex.
FAQ
- Which gateways can I add?
- Anything that speaks the OpenAI GET /models shape — private gateways (cindy/sub2api/generic) and public vendors like deepseek, moonshot, zhipu, qwen, openrouter, siliconflow, and xai.
- Where do credentials live?
- One managed credential per route (<ROUTE>_API_KEY, e.g. CINDY_API_KEY); private gateway addresses come from CINDY_BASE_URL/SUB2API_BASE_URL env or the panel's Base URL field.
- How do I install it?
- dsh plugin --profile web add git+https://github.com/iceprosurface/dsh-gateway-config.git.
Alternatives
yequ172672/dsh-codex-subscription · Hu9956/dsh-codex-provider · Victor-770/dsh-commandcode-provider