Replies: 1 comment
-
|
Adding @markwallace-microsoft to help route appropriately. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using ApprovalRequiredAIFunction to try and perform human in the loop actions.
I have the following setup:
TriageAgent
UserRoleAgent
TriageAgent using UserRoleAgent as a tool.
UserRoleAgent has several tools, one of which is AddUserToRole that is encapsulated in ApprovalRequiredAIFunction
When I try to get the approval, the TriageAgent seems to be eating the FunctionApprovalRequestContent content coming back. I have middleware on both agents and can see where the UserRoleAgent has the last message as a FunctionApprovalRequestContent with the proper argument calls, but I cannot seem to bubble that up so that the triage agent returns it to the caller.
We are using a custom ASP.NET Core with restful endpoints so we have an endpoint /agent that takes (approved takes an optional approved status if the user was asked to approve a tool call):
And then responds with either the messages from chat or info needed for the approval (the message is generated from the function call arguments and name in the backend):
Anyone know of a way to bubble up approval requests from sub agents that are acting as tools themselves?
Beta Was this translation helpful? Give feedback.
All reactions