3 instantiations of ReducingChatClient
Microsoft.Extensions.AI (1)
ChatCompletion\ReducingChatClientBuilderExtensions.cs (1)
35
var chatClient = new
ReducingChatClient
(innerClient, reducer);
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\ReducingChatClientTests.cs (2)
18
Assert.Throws<ArgumentNullException>("innerClient", () => new
ReducingChatClient
(null!, new TestReducer()));
68
using var client = new
ReducingChatClient
(innerClient, reducer);
9 references to ReducingChatClient
Microsoft.Extensions.AI (6)
ChatCompletion\ReducingChatClient.cs (1)
21
/// <summary>Initializes a new instance of the <see cref="
ReducingChatClient
"/> class.</summary>
ChatCompletion\ReducingChatClientBuilderExtensions.cs (5)
12
/// Provides extension methods for attaching a <see cref="
ReducingChatClient
"/> to a chat pipeline.
18
/// Adds a <see cref="
ReducingChatClient
"/> to the chat pipeline.
22
/// <param name="configure">An optional callback that can be used to configure the <see cref="
ReducingChatClient
"/> instance.</param>
27
Action<
ReducingChatClient
>? configure = null)
35
var
chatClient = new ReducingChatClient(innerClient, reducer);
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\ReducingChatClientTests.cs (3)
68
using
var
client = new ReducingChatClient(innerClient, reducer);
142
ReducingChatClient
? configuredClient = null;
163
Assert.IsType<
ReducingChatClient
>(configuredClient);