Repository navigation
Commit c60fedd
fix(server): Codex retry label no longer counts past its max
Codex switches from numbered "Reconnecting... N/M" retries to an
open-ended "Reconnecting... waiting for network" phase. Those messages
have no N/M, so the adapter kept the earlier maxAttempts while the
attempt counter grew, rendering "Retrying provider (34/5)". Take
maxAttempts only from the current message so the label reads
"Retrying provider (34)".
Fixes #30791
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 8b44f42 commit c60fedd
2 files changed
Lines changed: 24 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3403 | 3403 | | |
3404 | 3404 | | |
3405 | 3405 | | |
3406 | | - | |
3407 | | - | |
3408 | | - | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
3409 | 3414 | | |
3410 | 3415 | | |
3411 | 3416 | | |
3412 | 3417 | | |
3413 | 3418 | | |
3414 | 3419 | | |
3415 | 3420 | | |
3416 | | - | |
| 3421 | + | |
3417 | 3422 | | |
3418 | 3423 | | |
3419 | 3424 | | |
3420 | 3425 | | |
3421 | 3426 | | |
3422 | 3427 | | |
3423 | 3428 | | |
3424 | | - | |
| 3429 | + | |
3425 | 3430 | | |
3426 | 3431 | | |
3427 | 3432 | | |
| |||
3505 | 3510 | | |
3506 | 3511 | | |
3507 | 3512 | | |
3508 | | - | |
| 3513 | + | |
3509 | 3514 | | |
3510 | 3515 | | |
3511 | | - | |
3512 | | - | |
3513 | | - | |
3514 | | - | |
3515 | | - | |
3516 | | - | |
3517 | | - | |
3518 | | - | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
| 3523 | + | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
| 3527 | + | |
3519 | 3528 | | |
3520 | 3529 | | |
3521 | 3530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4710 | 4710 | | |
4711 | 4711 | | |
4712 | 4712 | | |
4713 | | - | |
| 4713 | + | |
4714 | 4714 | | |
4715 | 4715 | | |
4716 | 4716 | | |
| |||
0 commit comments