Skip to content

[codex] fix quota refresh probe model#490

Merged
cita-777 merged 1 commit intocita-777:mainfrom
tursom:main
May 8, 2026
Merged

[codex] fix quota refresh probe model#490
cita-777 merged 1 commit intocita-777:mainfrom
tursom:main

Conversation

@tursom
Copy link
Copy Markdown
Contributor

@tursom tursom commented Apr 16, 2026

修复 OAuth codex 无法刷新额度的问题

Summary by CodeRabbit

  • Chores
    • Updated quota verification model configuration for improved compatibility.

@github-actions github-actions Bot added area: server Server-side API and backend changes size: XS Less than 50 lines changed labels Apr 16, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 940bdc41-cb1d-47ca-970b-fada90f8e17a

📥 Commits

Reviewing files that changed from the base of the PR and between a2c2ae6 and 3bdc3af.

📒 Files selected for processing (1)
  • src/server/services/oauth/quota.ts

📝 Walkthrough

Walkthrough

Updated the Codex quota probing model configuration in the OAuth service from 'gpt-5.1-codex' to 'gpt-5.4'. This single-line change modifies the model identifier used for quota probe requests without altering any logic or API behavior.

Changes

Cohort / File(s) Summary
Quota Configuration
src/server/services/oauth/quota.ts
Updated CODEX_QUOTA_PROBE_MODEL model value from 'gpt-5.1-codex' to 'gpt-5.4'.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A model swap, so swift and neat,
From 5.1 to 5.4, the upgrade's complete!
One tiny line, but oh so keen,
The finest Codex probe we've seen!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: updating the quota probe model for codex OAuth, which directly addresses the stated objective of fixing quota refresh issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cita-777 cita-777 merged commit cdb12a9 into cita-777:main May 8, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: server Server-side API and backend changes size: XS Less than 50 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants