18 references to AddKeyedChatClient
Aspire.Azure.AI.OpenAI.Tests (8)
AspireAzureOpenAIClientBuilderChatClientExtensionsTests.cs (7)
27builder.AddAzureOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 57builder.AddAzureOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 85builder.AddAzureOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1"); 113builder.AddAzureOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 144builder.AddAzureOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 178builder.AddAzureOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1"); 205builder.AddAzureOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1").Use(TestMiddleware, null);
AspireConfigurableOpenAIExtensionsTests.cs (1)
231? builder.AddKeyedOpenAIClientFromConfiguration("openai").AddKeyedChatClient("chat")
Aspire.OpenAI.Tests (10)
AspireOpenAIClientBuilderChatClientExtensionsTests.cs (8)
30builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 60builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 88builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1"); 116builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 147builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient"); 181builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1"); 208builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1").Use(TestMiddleware, null); 241builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1").Use(TestMiddleware, null);
OpenAIPublicApiTests.cs (2)
60var action = () => builder.AddKeyedChatClient(serviceKey); 78var action = () => builder.AddKeyedChatClient(serviceKey);