You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move ask_questions tool implementation into VS Code core #291349
Per feedback in #291327, the ask_questions tool (question carousel) has tight coupling with UI and returns a value from ChatAgentResponseStream, which is contrary to the "stream" concept.
The tool should be implemented similar to the demo extension approach, with the implementation living in VS Code core rather than requiring the extension to await a response from the stream.
Thanks, I think tools with tight coupling to the VS Code UI should live in VS Code. Similar to the todo tool, terminal tool, etc. Will make things much easier for copilot!
estions tool (question carousel) has tight coupling with UI and returns a value from ChatAgentResponseStream, which is contrary to the "stream" concept.
I guess we can have the results returned in the stream the same way we do with confirmation method on the stream. Karthik Nadig (@karthiknadig) this tool is already used in background agents, as Copilot CLI does support ask, hence we need a UI to present the information to the user and get their response,
You can move the tools to core, but I would suggest leaving a method (simiarl method) on the stream that can be used to display the UI and then have the question results sent back the same way we already do with confirmation responses (via another request).
I.e. please do not remove the ability for chat extension to send questions to core, as this is required for copilot CLI & Cluade as well TylerLeonhardt /cc
Yes, I am currently manually using the AskQuestion tool in Copilot Chat in Claude and that code will need to be updated to use the new tool in core when it moves over. It really should not be a lot of work to include that in this work so that we can clean up the old tool instance
Activity
roblourens commentedon Jan 28, 2026
Thanks, I think tools with tight coupling to the VS Code UI should live in VS Code. Similar to the todo tool, terminal tool, etc. Will make things much easier for copilot!
DonJayamanne commentedon Feb 6, 2026
I guess we can have the results returned in the stream the same way we do with
confirmationmethod on the stream.Karthik Nadig (@karthiknadig) this tool is already used in background agents, as Copilot CLI does support ask, hence we need a UI to present the information to the user and get their response,
You can move the tools to core, but I would suggest leaving a method (simiarl method) on the stream that can be used to display the UI and then have the question results sent back the same way we already do with confirmation responses (via another request).
I.e. please do not remove the ability for chat extension to send questions to core, as this is required for copilot CLI & Cluade as well
TylerLeonhardt /cc
TylerLeonhardt commentedon Feb 6, 2026
Yes, I am currently manually using the AskQuestion tool in Copilot Chat in Claude and that code will need to be updated to use the new tool in core when it moves over. It really should not be a lot of work to include that in this work so that we can clean up the old tool instance