MoonshotAI / MoonshotAI/kimi-code
API /usages 接口 totalQuota 字段返回 有BUG
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
GET https://api.kimi.com/coding/v1/usages 返回的 totalQuota 字段值始终为 99,与账号实际月度总限额不符。
请确认这是接口设计还是 BUG。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by reproducing GET https://api.kimi.com/coding/v1/usages and comparing totalQuota with the account's actual monthly limit. Then trace the /usages implementation or API contract to determine whether 99 is intentional; done means the behavior is confirmed and, if it is a bug, totalQuota reports the correct limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100