Open
Description
Describe the issue
The InvokeAgentCommand documentation & Example Syntax is missing the required configuration/parameters for Multi-agent collaboration scenario. With ReturnControl feature, the Agent (without collaboration) is working as expected, but the Agent in Supervisor mode is throwing below error:
ValidationException: Validation failed: Unexpected actionGroup: action-group-XXXX or function : get_XXXX_data encountered for invocationId: f8b89c79-19b7-4b1d-ab08-bdfc3bde284d
So I looked at the InvokeAgentResponse in the Example Syntax, added the agentCollaboratorName
parameter. Now it just calls the same ReturnControl function in a loop.