7 references to AsIChatClient
Microsoft.Extensions.AI.AzureAIInference.Tests (7)
AzureAIInferenceChatClientIntegrationTests.cs (1)
10?.AsIChatClient(TestRunnerConfiguration.Instance["AzureAIInference:ChatModel"] ?? "gpt-4o-mini");
AzureAIInferenceChatClientTests.cs (6)
30Assert.Throws<ArgumentNullException>("chatCompletionsClient", () => ((ChatCompletionsClient)null!).AsIChatClient("model")); 33Assert.Throws<ArgumentException>("defaultModelId", () => client.AsIChatClient(" ")); 40IChatClient chatClient = client.AsIChatClient(modelId: null); 57IChatClient chatClient = client.AsIChatClient(model); 68IChatClient chatClient = client.AsIChatClient("model"); 1385.AsIChatClient(modelId);