Skip to content

fix: update regex to better match the retry error messages - #266

Merged
tibo-openai merged 1 commit into
openai:mainfrom
jonchurch:retry-regex-fix
Apr 17, 2025
Merged

tibo-openai merged 1 commit into
openai:mainfrom
jonchurch:retry-regex-fix

Conversation

@jonchurch

@jonchurch jonchurch commented Apr 17, 2025 •

Copy link
Copy Markdown
Contributor

I think the retry issue is just that the regex is wrong, checkout the reported error messages folks are seeing:

message: 'Rate limit reached for o4-mini in organization org-{redacted} on tokens per min (TPM): Limit 200000, Used 152566, Requested 60651. Please try again in 3.965s. Visit https://platform.openai.com/account/rate-limits to learn more.',

The error message uses try again not retry again

peep this regexpal: https://www.regexpal.com/?fam=155648

@tibo-openai

Copy link
Copy Markdown
Collaborator

nice find, ty for fixing this (on behalf of all the sad users!)

@tibo-openai
tibo-openai merged commit 693a6f9 into openai:main Apr 17, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 17, 2025
@jonchurch
jonchurch deleted the retry-regex-fix branch April 17, 2025 20:20
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.

2 participants