mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-26 12:53:59 +02:00
AryxCopilotAgent was converting ALL Copilot tool requests (ask_user, MCP tools, etc.) into FunctionCallContent. The Agent Framework's AIAgentHostExecutor tracks every FunctionCallContent as an outstanding request. Since SDK-handled tools like ask_user never produce a matching FunctionResultContent, HasOutstandingRequests stayed true and TurnToken was never emitted — stalling group-chat advancement after an ask_user interaction. Now only handoff_to_* tool requests are projected as FunctionCallContent. All other tool calls remain invisible to the Agent Framework executor, matching the upstream GitHubCopilotAgent behaviour. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>