3 references to AnonymousDelegatingChatClient
Microsoft.Extensions.AI (1)
ChatCompletion\ChatClientBuilder.cs (1)
137
return Use((innerClient, _) => new
AnonymousDelegatingChatClient
(innerClient, completeFunc, completeStreamingFunc));
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\UseDelegateChatClientTests.cs (2)
29
Assert.Throws<ArgumentNullException>("innerClient", () => new
AnonymousDelegatingChatClient
(null!, null!, null!));
30
Assert.Throws<ArgumentNullException>("completeFunc", () => new
AnonymousDelegatingChatClient
(client, null!, null!));