8 references to AsIChatClient
Microsoft.Extensions.AI.OpenAI (3)
MicrosoftExtensionsAIResponsesExtensions.cs (3)
114
/// The <see cref="IChatClient"/> returned by <see cref="OpenAIClientExtensions.
AsIChatClient
(OpenAIResponseClient)"/> will
130
/// <see cref="OpenAIClientExtensions.
AsIChatClient
(OpenAIResponseClient)"/> (or <see cref="IChatClient"/>s that delegate
139
/// the <see cref="IChatClient"/> returned by <see cref="OpenAIClientExtensions.
AsIChatClient
(OpenAIResponseClient)"/> will
Microsoft.Extensions.AI.OpenAI.Tests (5)
OpenAIResponseClientIntegrationTests.cs (1)
18
.
AsIChatClient
();
OpenAIResponseClientTests.cs (4)
31
Assert.Throws<ArgumentNullException>("responseClient", () => ((OpenAIResponseClient)null!).
AsIChatClient
());
42
IChatClient chatClient = client.GetOpenAIResponseClient(model).
AsIChatClient
();
53
IChatClient chatClient = openAIClient.
AsIChatClient
();
4648
.
AsIChatClient
();