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