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

@reachforstar/dsh-llm-amax

AMAX Token Router model provider for DeepSeek Harness: an OpenAI-compatible gateway route with /v1/models discovery 适合需要通过 AMAX 路由网关接入并调用各类大语言模型的 DSH 用户。

패키지
@reachforstar/dsh-llm-amax
호환성
미검증
Harness peer 범위
^0.1.1-rc.2
Cordis peer 범위
*
버전
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.