From 3e9e6ddbe67717e6066403d08472d0ea9f90ed4e Mon Sep 17 00:00:00 2001 From: Jacob Alber Date: Wed, 13 May 2026 13:25:32 -0400 Subject: [PATCH] fix A2A defaults Co-authored-by: lokitoth <6936551+lokitoth@users.noreply.github.com> --- .../A2AServerServiceCollectionExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/Microsoft.Agents.AI.Hosting.A2A/A2AServerServiceCollectionExtensions.cs b/dotnet/src/Microsoft.Agents.AI.Hosting.A2A/A2AServerServiceCollectionExtensions.cs index 8b7ff6d28b..deafbb2ced 100644 --- a/dotnet/src/Microsoft.Agents.AI.Hosting.A2A/A2AServerServiceCollectionExtensions.cs +++ b/dotnet/src/Microsoft.Agents.AI.Hosting.A2A/A2AServerServiceCollectionExtensions.cs @@ -145,7 +145,7 @@ public static class A2AServerServiceCollectionExtensions if (agentSessionStore?.GetService() is null) { agentSessionStore ??= new InMemoryAgentSessionStore(); - agentSessionStore = new IsolationKeyScopedAgentSessionStore(agentSessionStore, isolationKeyProvider, new()); + agentSessionStore = new IsolationKeyScopedAgentSessionStore(agentSessionStore, isolationKeyProvider, new() { Strict = isolationKeyProvider != null }); } var hostAgent = new AIHostAgent(