Replies: 1 comment
-
|
@lokitoth are you able to help with this? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Sequential Agent Workflow re-requesting HITL approvals on Session Resume
We are testing a sequential multi-agent workflow (AgentWorkflowBuilder.BuildSequential) consisting of a routing agent, summary agent, and an execution agent utilizing an
ApprovalRequiredAIFunction.We are running into two key issues with streaming and session state:
RunStreamingAsyncyields multipleToolApprovalRequestContentchunks sharing the sameCallId, causing naive chunk counts to fail assertions.CreateResponse(true)), the workflow restarts the sequence and prompts for the exact same tool approval a second time on top of executing the function.How do we properly inject a tool approval response into a sequential workflow session so that the downstream execution agent consumes it rather than re-triggering the tool call?
Code:
Beta Was this translation helpful? Give feedback.
All reactions