Commit 1695f3b
committed
fix: reset user response flag on new ask messages to fix auto-approval
After update_todo_list tool execution, subsequent tools were not being
auto-approved even when auto-approval was enabled. This was because
userRespondedRef.current remained true after the first auto-approval.
The fix resets this flag when any new ask message arrives, allowing
each tool request to be evaluated for auto-approval independently.1 parent 0e0da80 commit 1695f3b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
| |||
0 commit comments