- 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
446 B
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.