Files
codex/codex-rs/core/src
Thomas Stokes d9118c04bf Parse the Azure OpenAI rate limit message (#5956)
Fixes #4161

Currently Codex uses a regex to parse the "Please try again in 1.898s"
OpenAI-style rate limit message, so that it can wait the correct
duration before retrying. Azure OpenAI returns a different error that
looks like "Rate limit exceeded. Try again in 35 seconds."

This PR extends the regex and parsing code to match in a more fuzzy
manner, handling anything matching the pattern "try again in
\<duration>\<unit>".
2025-11-01 09:33:13 -07:00
..
2025-10-31 14:27:08 -07:00
2025-10-30 10:28:32 +00:00
2025-10-31 13:27:33 -07:00
2025-10-20 15:52:25 -07:00
2025-10-30 10:28:32 +00:00
2025-10-30 10:28:32 +00:00
2025-09-18 14:14:16 -07:00
2025-10-29 22:33:57 +00:00