Commit 9a9ecd8
committed
fix: add latestTurn regression guard to thread.message-sent handler
Add the same defensive guard that thread.turn-diff-completed uses to
prevent a late-arriving assistant message from an older turn from
overwriting latestTurn, which could regress the current turn's progress.1 parent 0e1dfe5 commit 9a9ecd8
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
612 | 614 | | |
613 | 615 | | |
614 | 616 | | |
| |||
0 commit comments