Commit c02115a
committed
fix(sdk): request the caught-up settle on AgentChat.reconnect()
The server-to-server AgentChat client's reconnect() now sends X-Peek-Settled,
so resuming an .out that is already at a turn-complete tail closes promptly
instead of holding the full SSE long-poll window. This matches the browser
transport's reconnectToStream and gives server-to-server consumers the same
fast tail-close. The active send-message path is unchanged (no peek, so it
never races a newly-triggered turn's first chunk).1 parent f202ccc commit c02115a
2 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
580 | 585 | | |
581 | 586 | | |
582 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
583 | 591 | | |
584 | 592 | | |
585 | 593 | | |
| |||
681 | 689 | | |
682 | 690 | | |
683 | 691 | | |
684 | | - | |
| 692 | + | |
685 | 693 | | |
686 | 694 | | |
687 | 695 | | |
| |||
743 | 751 | | |
744 | 752 | | |
745 | 753 | | |
| 754 | + | |
746 | 755 | | |
747 | 756 | | |
748 | 757 | | |
| |||
0 commit comments