agent_ui: Display an activity bar for subagents waiting for permission#52460
agent_ui: Display an activity bar for subagents waiting for permission#52460danilo-leal merged 2 commits intomainfrom
Conversation
benbrandt
left a comment
There was a problem hiding this comment.
Any chance we can make this generic to any tool call that might be pending and scroll to it?
|
I was under the assumption that any other tool requesting permission would "pause" the thread and be stuck at the bottom of the view, never going out of view, because no other content can be generated after it while pending... right Subagents has this as an fundamental difference, no? Will merge this now, but happy to chat about it/explore more if I'm off! |
|
This is also related to the excessive permission requests required to use Copilot. There are tasks it won’t perform while in Autopilot mode, so we’re forced to switch it to agent mode and stay glued to the computer, constantly clicking “yes” the whole time. |
|
Alrighty, nevermind, I was operating with the thought that we didn't support parallel tool calls aside from subagents but we definitely do, so we can totally expand this outside of the subagent scope. I'll work on a follow-up, thanks both for the heads-up! 👍 |
|
Maybe you could group repetitive permission requests into a single confirmation per task or session, instead of constantly asking “yes.” |
Closes #52346
Given the parallel nature of subagents calls, it's possible that there is a subagent way out of view that's waiting for the user to give permissions. Right now, it's kind of hard to know this and you may think something wrong is happening given the thread generation isn't making any progress.
This PR adds an "activity bar" to the thread view that displays subagents on a "waiting for confirmation" status. We display the subagent's summary label as well as allow clicking on it to quickly scrolling to that subagent.
Release Notes: