Commit 3a75b75
committed
fix: multiple Human in the loop approvals getting stuck (#453)
Add check_and_handle_interrupts call to resume_agent_chat function
to make it consistent with the main chat flow.
Root cause:
- Main chat flow checks for pending interrupts after stream ends
- Resume flow was missing this check
- When a new interrupt was triggered after resume, frontend never
received the new approval request
Fix:
- Add the same interrupt detection logic after stream ends in resume flow1 parent 995c604 commit 3a75b75
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
822 | 829 | | |
823 | 830 | | |
824 | 831 | | |
825 | 832 | | |
826 | | - | |
827 | 833 | | |
828 | 834 | | |
829 | 835 | | |
| |||
0 commit comments