From 7c0d5c7ca5e35d5bf54a9ca147c46f144609c908 Mon Sep 17 00:00:00 2001 From: venti <1308199824@qq.com> Date: Sat, 30 May 2026 15:09:46 +0800 Subject: [PATCH] fix: correct XML doc for GetSessionAsync - returns new session, not null --- dotnet/src/Microsoft.Agents.AI.Hosting/AgentSessionStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/Microsoft.Agents.AI.Hosting/AgentSessionStore.cs b/dotnet/src/Microsoft.Agents.AI.Hosting/AgentSessionStore.cs index 7c0539fe51..05a58b3ddb 100644 --- a/dotnet/src/Microsoft.Agents.AI.Hosting/AgentSessionStore.cs +++ b/dotnet/src/Microsoft.Agents.AI.Hosting/AgentSessionStore.cs @@ -69,7 +69,7 @@ public abstract ValueTask SaveSessionAsync( /// The to monitor for cancellation requests. /// /// A task that represents the asynchronous retrieval operation. - /// The task result contains the serialized session state, or if not found. + /// The task result contains the serialized session state. If the session is not found, a new session is created and returned. /// public abstract ValueTask GetSessionAsync( AIAgent agent,