8 references to AsIChatClient
Microsoft.Extensions.AI.OpenAI (3)
MicrosoftExtensionsAIResponsesExtensions.cs (3)
103
/// The <see cref="IChatClient"/> returned by <see cref="OpenAIClientExtensions.
AsIChatClient
(OpenAIResponseClient)"/> will
119
/// <see cref="OpenAIClientExtensions.
AsIChatClient
(OpenAIResponseClient)"/> (or <see cref="IChatClient"/>s that delegate
128
/// the <see cref="IChatClient"/> returned by <see cref="OpenAIClientExtensions.
AsIChatClient
(OpenAIResponseClient)"/> will
Microsoft.Extensions.AI.OpenAI.Tests (5)
OpenAIResponseClientIntegrationTests.cs (1)
17
.
AsIChatClient
();
OpenAIResponseClientTests.cs (4)
28
Assert.Throws<ArgumentNullException>("responseClient", () => ((OpenAIResponseClient)null!).
AsIChatClient
());
39
IChatClient chatClient = client.GetOpenAIResponseClient(model).
AsIChatClient
();
50
IChatClient chatClient = openAIClient.
AsIChatClient
();
1527
.
AsIChatClient
();