mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
Use explicit plan types from OpenAI quota snapshots to fill missing or unknown account plans before building account and dashboard display names. Preserve known plan subtypes and reuse cached quota without extra requests or changes to persisted credential facts. Cover quota projection and account list/detail fallback behavior, and document the backend display contract. Validation: gateway-admin, OpenAI, and xAI tests (1049 passed), strict Clippy for affected backend crates, gateway build, and diff whitespace checks passed. A real account JSON import and upstream quota refresh confirmed free/Free in list, detail, and cached quota responses. Co-authored-by: Codex <noreply@openai.com>