Fix Kimi usage credential lookup

This commit is contained in:
Mohamed Boudra
2026-06-20 19:10:40 +07:00
parent 80fc11541f
commit 6a3856b639
3 changed files with 67 additions and 8 deletions
+2
View File
@@ -67,6 +67,8 @@ To add plan usage for a provider, add `packages/server/src/services/quota-fetche
Keep the protocol shape provider-agnostic. Do not add provider-specific renderers for new limit windows; labels and generic bars should carry the UI. API responses should be parsed and normalized with Zod inside the fetcher, while the protocol boundary stays strict so old/new client compatibility is explicit.
Kimi Code usage follows the CLI-managed credential file at `KIMI_CODE_HOME` or `~/.kimi-code/credentials/kimi-code.json`; do not probe the legacy `~/.kimi` path as the primary source for current Kimi Code installs.
---
## ACP Provider Checklist