From acd6b81db4b4d274dcfb09ff2150fcdaef2937c4 Mon Sep 17 00:00:00 2001 From: Jacob Alber Date: Wed, 13 May 2026 13:25:32 -0400 Subject: [PATCH] fix A2A defaults --- .../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(