From 0aa0579b1b20c4bcc3789985c6913eb2318dcbdb Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 6 Jan 2026 10:44:13 +0000 Subject: [PATCH] .NET: Seal ChatClientAgentThread (#2842) * Initial plan * Seal ChatClientAgentThread class Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> --- .../src/Microsoft.Agents.AI/ChatClient/ChatClientAgentThread.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentThread.cs b/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentThread.cs index 91e9502968..f4cf4aa033 100644 --- a/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentThread.cs +++ b/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentThread.cs @@ -11,7 +11,7 @@ namespace Microsoft.Agents.AI; /// Provides a thread implementation for use with . /// [DebuggerDisplay("{DebuggerDisplay,nq}")] -public class ChatClientAgentThread : AgentThread +public sealed class ChatClientAgentThread : AgentThread { private ChatMessageStore? _messageStore;