Skip to content

Conversation

@willwang-openai
Copy link
Contributor

@willwang-openai willwang-openai commented Jan 29, 2026

Adds support for the Go plan type
Updates rate limit error messages to point to the usage page

@willwang-openai willwang-openai force-pushed the willwang/add-go-plan-type branch from 17bf311 to 5c39279 Compare January 29, 2026 23:24
@willwang-openai willwang-openai force-pushed the willwang/add-go-plan-type branch from 5c39279 to ffb98ca Compare January 29, 2026 23:56
@willwang-openai willwang-openai force-pushed the willwang/add-go-plan-type branch from cb93827 to 8855aac Compare January 30, 2026 00:52
@willwang-openai willwang-openai enabled auto-merge (squash) January 30, 2026 00:53
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cb938279a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 737 to +740
assert_eq!(
err.to_string(),
"You've hit your usage limit. Upgrade to Plus to continue using Codex (https://openai.com/chatgpt/pricing)."
"You've hit your usage limit. Upgrade to Plus to continue using Codex (https://openai.com/chatgpt/pricing), or try again later."
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update usage-limit tests to match new URL

The expected string in usage_limit_reached_error_formats_free_plan (and the new Go-plan test right after it) still asserts https://openai.com/chatgpt/pricing, but UsageLimitReachedError::fmt now emits https://chatgpt.com/codex/settings/usage for Free/Go plans. As written, these unit tests will fail whenever the core error tests are run, masking the intended message update.

Useful? React with 👍 / 👎.

@willwang-openai willwang-openai force-pushed the willwang/add-go-plan-type branch from 8855aac to 3c336f5 Compare January 30, 2026 01:01
@willwang-openai willwang-openai merged commit a9cf449 into main Jan 30, 2026
32 checks passed
@willwang-openai willwang-openai deleted the willwang/add-go-plan-type branch January 30, 2026 01:17
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants