ReachForStar/dsh-client-ui-polish--packages-llm-amax ↗★ 0

@reachforstar/dsh-llm-amax

接入 AMAX Token Router 的兼容路由模型提供商 适合需要通过 AMAX 路由网关接入并调用各类大语言模型的 DSH 用户。

包名
@reachforstar/dsh-llm-amax
兼容性
待验证
Harness 依赖范围
^0.1.1-rc.2
Cordis 依赖范围
*
版本
0.1.1-rc.2
许可证
MIT
最近更新
2026年8月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ReachForStar/dsh-client-ui-polish#132f53bc4fe37fe4993412b28890cf41a1be0dd0&path:packages/llm-amax

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
KeyDefaultMeaning
apiKeyEnvAMAX_API_KEYCredential reference resolved per request through the credentials service.
baseURLhttps://ai.amaxsmp.com/v1Endpoint 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 / retryPolicyunsetProvider-neutral knobs passed to the pi-ai adapter, mirroring dsh-llm-pi-ai.