Skip to content

fix(limits): read Kimi Code 2 usage quotas - #71

Merged
howdeploy merged 1 commit into
howdeploy:mainfrom
SaneSanders:fix/kimi-code-2-limits
Sep 26, 2026
Merged

howdeploy merged 1 commit into
howdeploy:mainfrom
SaneSanders:fix/kimi-code-2-limits

Conversation

@SaneSanders

Copy link
Copy Markdown
Contributor

Summary

  • read the Kimi Code 2 kimi web usage payload (data.quota.usages): 5h, weekly and monthly windows
  • report Kimi's usage request timeout as timeout instead of protocol-error

Test plan

  • npm test (660/660)
  • npm run typecheck
  • Kimi Code CLI 2.0.0 on macOS: the HOME row shows 0% with the 5h reset instead of Protocol error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants