Commit 61efff3
fix(chat): reset pending tool state when clearing conversation (#2855)
Reset tool_uses, pending_tool_index, and tool_turn_start_time to prevent
orphaned tool approval prompts after conversation history is cleared.
Co-authored-by: Niraj Chowdhary <[email protected]>1 parent 5d0c62b commit 61efff3
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
| |||
0 commit comments