Files
fusion/.changeset/verify-kimi-usage-endpoint-config.md
gsxdsm c78ffaab5c feat(FN-1547): verify and lock Kimi usage endpoint configuration with regression tests
- Verify underscore endpoint (/v1/coding_plan/usage) as primary (Codexbar-validated)
- Add hyphen endpoint (/v1/coding-plan/usage) as legacy fallback
- Short-circuit 401/403 errors immediately without fallback attempts
- Fallback to alternate endpoint on 404, return sanitized url.not_found error on final 404
- Add regression tests for all error scenarios
2026-04-10 10:36:42 -07:00

446 B

@gsxdsm/fusion
@gsxdsm/fusion
patch

Verify and lock Kimi usage endpoint configuration with regression tests. The underscore endpoint (/v1/coding_plan/usage) is primary (Codexbar-validated), with hyphen endpoint (/v1/coding-plan/usage) as legacy fallback. Error handling: 401/403 short-circuits immediately, 404 triggers fallback to alternate endpoint, final 404 url.not_found returns sanitized error message without leaking raw upstream JSON.