Skip to content

Commit 74f7f85

Browse files
committed
refactor: Seal AgentResponse events
1 parent 973699b commit 74f7f85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dotnet/src/Microsoft.Agents.AI.Workflows/AgentResponseEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Microsoft.Agents.AI.Workflows;
77
/// <summary>
88
/// Represents an event triggered when an agent produces a response.
99
/// </summary>
10-
public class AgentResponseEvent : WorkflowOutputEvent
10+
public sealed class AgentResponseEvent : WorkflowOutputEvent
1111
{
1212
/// <summary>
1313
/// Initializes a new instance of the <see cref="AgentResponseEvent"/> class.

dotnet/src/Microsoft.Agents.AI.Workflows/AgentResponseUpdateEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Microsoft.Agents.AI.Workflows;
88
/// <summary>
99
/// Represents an event triggered when an agent run produces an update.
1010
/// </summary>
11-
public class AgentResponseUpdateEvent : WorkflowOutputEvent
11+
public sealed class AgentResponseUpdateEvent : WorkflowOutputEvent
1212
{
1313
/// <summary>
1414
/// Initializes a new instance of the <see cref="AgentResponseUpdateEvent"/> class.

0 commit comments

Comments
 (0)