3 references to AsChatClient
Microsoft.Extensions.AI.OpenAI.Tests (3)
OpenAIChatClientTests.cs (3)
55
Assert.Throws<ArgumentNullException>("chatClient", () => ((ChatClient)null!).
AsChatClient
());
79
chatClient = client.GetChatClient(model).
AsChatClient
();
118
IChatClient chatClient = openAIClient.
AsChatClient
();