3 references to LoggingChatClient
Microsoft.Extensions.AI (1)
ChatCompletion\LoggingChatClientBuilderExtensions.cs (1)
32
var chatClient = new
LoggingChatClient
(innerClient, loggerFactory.CreateLogger(typeof(LoggingChatClient)));
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\LoggingChatClientTests.cs (2)
20
Assert.Throws<ArgumentNullException>("innerClient", () => new
LoggingChatClient
(null!, NullLogger.Instance));
21
Assert.Throws<ArgumentNullException>("logger", () => new
LoggingChatClient
(new TestChatClient(), null!));