diff --git a/dotnet/src/Microsoft.Agents.AI.Abstractions/AIContextProvider.cs b/dotnet/src/Microsoft.Agents.AI.Abstractions/AIContextProvider.cs index a4b3f5d956..fd3ff10fc2 100644 --- a/dotnet/src/Microsoft.Agents.AI.Abstractions/AIContextProvider.cs +++ b/dotnet/src/Microsoft.Agents.AI.Abstractions/AIContextProvider.cs @@ -124,7 +124,7 @@ public virtual JsonElement Serialize(JsonSerializerOptions? jsonSerializerOption /// that will be used. Context providers can use this information to determine what additional context /// should be provided for the invocation. /// - public class InvokingContext + public sealed class InvokingContext { /// /// Initializes a new instance of the class with the specified request messages. @@ -153,7 +153,7 @@ public InvokingContext(IEnumerable requestMessages) /// request messages that were used and the response messages that were generated. It also indicates /// whether the invocation succeeded or failed. /// - public class InvokedContext + public sealed class InvokedContext { /// /// Initializes a new instance of the class with the specified request messages. diff --git a/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentOptions.cs b/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentOptions.cs index 019f4f42e4..4a72d66f2d 100644 --- a/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentOptions.cs +++ b/dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgentOptions.cs @@ -14,7 +14,7 @@ namespace Microsoft.Agents.AI; /// identifier, display name, operational instructions, and a descriptive summary. It can be used to store and transfer /// agent-related metadata within a chat application. /// -public class ChatClientAgentOptions +public sealed class ChatClientAgentOptions { /// /// Gets or sets the agent id.