Skip to content

Commit f551612

Browse files
committed
Simplify type names in TestChatHistoryProvider to fix IDE0001
1 parent 9aac4bf commit f551612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/AzureAIProjectChatClientExtensionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2941,12 +2941,12 @@ public override ValueTask<AIContext> InvokingAsync(InvokingContext context, Canc
29412941
/// </summary>
29422942
private sealed class TestChatHistoryProvider : ChatHistoryProvider
29432943
{
2944-
public override ValueTask<IEnumerable<ChatMessage>> InvokingAsync(ChatHistoryProvider.InvokingContext context, CancellationToken cancellationToken = default)
2944+
public override ValueTask<IEnumerable<ChatMessage>> InvokingAsync(InvokingContext context, CancellationToken cancellationToken = default)
29452945
{
29462946
return new ValueTask<IEnumerable<ChatMessage>>(Array.Empty<ChatMessage>());
29472947
}
29482948

2949-
public override ValueTask InvokedAsync(ChatHistoryProvider.InvokedContext context, CancellationToken cancellationToken = default)
2949+
public override ValueTask InvokedAsync(InvokedContext context, CancellationToken cancellationToken = default)
29502950
{
29512951
return default;
29522952
}

0 commit comments

Comments
 (0)