Commit b5e5d63
committed
fix(codex): correct quota tracking error mapping
Update parse_quota_error to correctly identify Codex API's structured usage
limit reached errors ('type': 'usage_limit_reached') so the rotation
client correctly applies cooldowns during quota exhaustion events.1 parent dcb132d commit b5e5d63
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1343 | 1343 | | |
1344 | 1344 | | |
1345 | 1345 | | |
1346 | | - | |
| 1346 | + | |
1347 | 1347 | | |
1348 | 1348 | | |
1349 | 1349 | | |
| |||
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
1364 | | - | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1365 | 1372 | | |
1366 | | - | |
| 1373 | + | |
1367 | 1374 | | |
1368 | 1375 | | |
1369 | | - | |
| 1376 | + | |
1370 | 1377 | | |
1371 | 1378 | | |
1372 | 1379 | | |
| |||
0 commit comments