6 instantiations of AnonymousDelegatingChatClient
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Tests (4)
ChatCompletion\UseDelegateChatClientTests.cs (4)
26Assert.Throws<ArgumentNullException>("innerClient", () => new AnonymousDelegatingChatClient(null!, delegate { return Task.CompletedTask; }));
27Assert.Throws<ArgumentNullException>("sharedFunc", () => new AnonymousDelegatingChatClient(client, null!));
29Assert.Throws<ArgumentNullException>("innerClient", () => new AnonymousDelegatingChatClient(null!, null!, null!));
30Assert.Throws<ArgumentNullException>("completeFunc", () => new AnonymousDelegatingChatClient(client, null!, null!));
5 references to AnonymousDelegatingChatClient
Microsoft.Extensions.AI (4)
Microsoft.Extensions.AI.Tests (1)