From 836d22b205221cb2db1f12fc0fb45bb1513a4f19 Mon Sep 17 00:00:00 2001 From: Korolev Dmitry Date: Mon, 17 Nov 2025 21:51:52 +0100 Subject: [PATCH] comments --- dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs | 2 +- .../Responses/AgentInvocationContext.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs b/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs index cc03d52887..4798f1b79a 100644 --- a/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs +++ b/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/IdGenerator.cs @@ -61,7 +61,7 @@ internal sealed partial class IdGenerator public string ConversationId { get; } /// - /// + /// Gets a value indicating whether this is a new conversation. /// public bool IsNewConversation { get; } diff --git a/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentInvocationContext.cs b/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentInvocationContext.cs index f90450f514..5f716ea3f2 100644 --- a/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentInvocationContext.cs +++ b/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentInvocationContext.cs @@ -26,6 +26,9 @@ internal sealed class AgentInvocationContext(IdGenerator idGenerator, JsonSerial /// public string ConversationId => this.IdGenerator.ConversationId; + /// + /// Returns true, if conversation is new. + /// public bool IsNewConversation => this.IdGenerator.IsNewConversation; ///