19 references to AddKeyedChatClient
Aspire.Azure.AI.Extensions.OpenAI.Tests (8)
AspireAzureOpenAIExtensionsTests.cs (2)
129clientBuilder.AddKeyedChatClient("chat-client"); 229clientBuilder.AddKeyedChatClient("chat-client", "chat");
AspireAzureProjectOpenAIExtensionsTests.cs (2)
194clientBuilder.AddKeyedChatClient("chat"); 365clientBuilder.AddKeyedChatClient("chat", "chat");
AspireConfigurableOpenAIExtensionsTests.cs (2)
139builder.AddKeyedOpenAIClientFromConfiguration(key).AddKeyedChatClient(key); 186builder.AddKeyedChatClient("chat");
ConformanceTests.cs (2)
42builder.AddKeyedAzureOpenAIClient(key, configure).AddKeyedChatClient(key); 105builder.AddKeyedAzureProjectOpenAIClient(key, configure).AddKeyedChatClient(key);
Aspire.OpenAI.Tests (11)
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"); 186builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1"); 213builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1").Use(TestMiddleware, null); 247builder.AddOpenAIClient("openai").AddKeyedChatClient("openai_chatclient", "testdeployment1").Use(TestMiddleware, null);
ConformanceTests.cs (1)
63builder.AddKeyedOpenAIClient(key, configure).AddKeyedChatClient(key);
OpenAIPublicApiTests.cs (2)
62var action = () => builder.AddKeyedChatClient(serviceKey); 81var action = () => builder.AddKeyedChatClient(serviceKey);