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 ピア範囲
>=4.0.0
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/01

インストール

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

ドキュメント

README 全文を読む ↗

配置

- 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