Files
Classic298 b130c7f754 fix: a sub-agent hangs when a filter or tool asks the browser something (#34045)
* fix: a sub-agent hangs when a filter or tool asks the browser something

A filter or tool can ask the browser something: run a script in the page, show a confirmation or a form, or ask for text. In a normal chat that works, but during a sub-agent's run nothing was shown: a form was cancelled on its own, and a script, confirmation or text question was never answered, so the chat stayed on "Executing Sub-agent" until Stop was clicked. With a global filter doing this every sub-agent hung. The question now goes to the browser tab that has the chat that started the sub-agent open: the script runs and the dialog appears there, like in a normal chat. When no tab has that chat open the question is not left waiting: the filter or tool gets an error, at once for a script and after at most a minute for a dialog, and the sub-agent continues without the answer.

Fixes #34041

* fix: sub-agent questions to the browser stay with the chat that started it

A question a filter or tool asks during a sub-agent run now only moves to another tab when the starting tab no longer has that chat open, and it fails at once when no tab does. A sub-agent whose chat was deleted mid-run gets the same error instead of a crash.
2026-11-17 01:14:10 +09:00
..
2026-10-14 13:46:36 +04:00
2026-11-09 16:04:13 +09:00
2026-11-09 16:04:13 +09:00