fix: Add session support for Handoff-hosted Agents

In order to better support using `Workflows` hosted as `AIAgents` inside of Handoff workflows, we need to make proper use of AgentSession. This causes potential issues around checkpointing and making sure that we properly compute only the new incoming messages for each agent invocation.
This commit is contained in:
Jacob Alber
2026-04-16 14:04:25 -04:00
parent c14beedb3a
commit 2951748c4a
11 changed files with 655 additions and 306 deletions
@@ -73,6 +73,7 @@ internal static class Step12EntryPoint
foreach (string input in inputs)
{
AgentResponse response;
ResponseContinuationToken? continuationToken = null;
do
{