(feat) expontential back-off when encountering rate limit errors (#153)

...and try to parse the suggested time from the error message while we
don't yet have this in a structured way

---------

Signed-off-by: Thibault Sottiaux <tibo@openai.com>
This commit is contained in:
Thibault Sottiaux
2025-04-16 17:37:12 -07:00
committed by GitHub
parent b8aea2340d
commit 47c683480f
2 changed files with 51 additions and 25 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@openai/codex",
"version": "0.1.04161241",
"version": "0.1.2504161510",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@openai/codex",
"version": "0.1.04161241",
"version": "0.1.2504161510",
"license": "Apache-2.0",
"dependencies": {
"@inkjs/ui": "^2.0.0",