ReachForStar/dsh-client-ui-polish--packages-llm-amax ↗★ 0
@reachforstar/dsh-llm-amax
接入 AMAX Token Router 的兼容路由模型提供商 适合需要通过 AMAX 路由网关接入并调用各类大语言模型的 DSH 用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ReachForStar/dsh-client-ui-polish#132f53bc4fe37fe4993412b28890cf41a1be0dd0&path:packages/llm-amax說明文件
閱讀完整 README ↗Configuration
Set the credential first: export AMAX_API_KEY (the default credential reference), or store any other reference and point the route at it. Then, in the web Models page, select AMAX Token Router and use fetch available models — the draft key comes from AMAX_API_KEY before the route is even saved.
By hand, the user-settings section is:
llm-amax:
providers:
amax:
# apiKeyEnv: AMAX_API_KEY # default; any credential ref works
# baseURL: https://ai.amaxsmp.com/v1
models:
- id: deepseek-v4-flash
contextWindow: 262144
| Key | Default | Meaning |
|---|---|---|
apiKeyEnv | AMAX_API_KEY | Credential reference resolved per request through the credentials service. |
baseURL | https://ai.amaxsmp.com/v1 | Endpoint override for the OpenAI-compatible API. |
models | [] | The route's model catalog; each entry takes id, name, contextWindow, maxTokens, input, reasoningEfforts. |
reasoning / transport / timeoutMs / headers / retryPolicy | unset | Provider-neutral knobs passed to the pi-ai adapter, mirroring dsh-llm-pi-ai. |