[PR #104] [MERGED] feat(quota): support dynamic Codex additional limits and i18n #106

Closed
opened 2026-02-27 16:42:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/router-for-me/Cli-Proxy-API-Management-Center/pull/104
Author: @moxi000
Created: 2/13/2026
Status: Merged
Merged: 2/13/2026
Merged by: @LTbinglingfeng

Base: devHead: dev


📝 Commits (3)

  • 7068588 feat(quota): support dynamic codex additional limits with i18n
  • 0640edc fix(quota): avoid fallback mislabeling for additional codex limits
  • 8a33f5a fix(quota): use i18n params for additional limits and keep primary/secondary mapping

📊 Changes

5 files changed (+95 additions, -8 deletions)

View changed files

📝 src/components/quota/quotaConfigs.ts (+77 -8)
📝 src/i18n/locales/en.json (+2 -0)
📝 src/i18n/locales/ru.json (+2 -0)
📝 src/i18n/locales/zh-CN.json (+2 -0)
📝 src/types/quota.ts (+12 -0)

📄 Description

Summary

  • adapt Codex quota parser to consume cloud-provided additional_rate_limits
  • dynamically render additional quota windows only when upstream returns them
  • add i18n labels for dynamic additional quota windows in zh-CN/en/ru
  • keep compatibility with existing rate_limit and code_review_rate_limit parsing

Validation

  • npm run type-check
  • npm run lint (existing repo warnings only, no new errors)
  • npm run build

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/router-for-me/Cli-Proxy-API-Management-Center/pull/104 **Author:** [@moxi000](https://github.com/moxi000) **Created:** 2/13/2026 **Status:** ✅ Merged **Merged:** 2/13/2026 **Merged by:** [@LTbinglingfeng](https://github.com/LTbinglingfeng) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (3) - [`7068588`](https://github.com/router-for-me/Cli-Proxy-API-Management-Center/commit/7068588c5840775bd4c71213126208a290078fea) feat(quota): support dynamic codex additional limits with i18n - [`0640edc`](https://github.com/router-for-me/Cli-Proxy-API-Management-Center/commit/0640edc9c91a290dc2889ea2482847ca3653024a) fix(quota): avoid fallback mislabeling for additional codex limits - [`8a33f5a`](https://github.com/router-for-me/Cli-Proxy-API-Management-Center/commit/8a33f5ab550768d8659db7f9e17a6cc86079e6ff) fix(quota): use i18n params for additional limits and keep primary/secondary mapping ### 📊 Changes **5 files changed** (+95 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/components/quota/quotaConfigs.ts` (+77 -8) 📝 `src/i18n/locales/en.json` (+2 -0) 📝 `src/i18n/locales/ru.json` (+2 -0) 📝 `src/i18n/locales/zh-CN.json` (+2 -0) 📝 `src/types/quota.ts` (+12 -0) </details> ### 📄 Description ## Summary - adapt Codex quota parser to consume cloud-provided `additional_rate_limits` - dynamically render additional quota windows only when upstream returns them - add i18n labels for dynamic additional quota windows in zh-CN/en/ru - keep compatibility with existing `rate_limit` and `code_review_rate_limit` parsing ## Validation - npm run type-check - npm run lint (existing repo warnings only, no new errors) - npm run build --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:42:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cli-Proxy-API-Management-Center#106
No description provided.