Skip to content

dsh-minimax-usage-pro-0.1.1

Latest

Choose a tag to compare

@andyfan1094 andyfan1094 released this 22 Aug 11:42
· 11 commits to main since this release

Highlights

  • Dual-key credential resolution: honours both MINIMAX_CN_API_KEY and MINIMAX_API_KEY env vars; the policy priority is MINIMAX_API_KEY > MINIMAX_CN_API_KEY.
  • __testing exports cover the credential parser, the raw HTTP helper, and the model-usage mapping so they can be unit-tested.
  • New tests/index.test.mjs exercises the credential priority and the ESM HTTP helper, plus a model-mapping test that asserts the raw apiKey is never returned to the UI.
  • README updated to describe the supported key names and the model usage widget.