121212165/dsh-plugin-relay-quota ↗★ 0

dsh-plugin-relay-quota

dsh plugin: read remaining quota and usage from any OpenAI-compatible relay (billing surface), via /quota and the quota_check tool. 适合使用第三方中转API并需要监控余额的用户。

패키지
dsh-plugin-relay-quota
호환성
미검증
Cordis peer 범위
>=4.0.0
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 1.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:121212165/dsh-plugin-relay-quota

配置

- insert:
    - id: relay-quota
      name: dsh-plugin-relay-quota
      config:
        enabled: true
        providers:
          - name: my-relay
            baseUrl: http://localhost:3002/v1
            apiKeyEnv: RELAY_API_KEY   # key 放环境变量,不落配置
            listModels: true