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