Repository navigation
Commit 13c25fd
fix(server): Codex usage answering after three seconds is no longer dropped
The account/rateLimits/read request had its own 3 s cap on top of the
probe's discovery deadline, so a valid answer that took 3-8 s, common for
real Codex, was thrown away and Usage showed "Codex did not answer the
usage request.". The probe deadline already keeps account and model
discovery safe, so bound the usage read by that deadline alone.
Fixes #36180
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 9229549 commit 13c25fd
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
670 | 669 | | |
671 | 670 | | |
672 | 671 | | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
| 672 | + | |
678 | 673 | | |
679 | 674 | | |
680 | 675 | | |
| |||
0 commit comments