20 references to AddKeyedChatClient
Aspire.Azure.AI.OpenAI.Tests (9)
AspireAzureOpenAIClientBuilderChatClientExtensionsTests.cs (7)
27
builder.AddAzureOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient");
57
builder.AddAzureOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient");
85
builder.AddAzureOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient", "testdeployment1");
113
builder.AddAzureOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient");
144
builder.AddAzureOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient");
178
builder.AddAzureOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient", "testdeployment1");
205
builder.AddAzureOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient", "testdeployment1").Use(TestMiddleware, null);
AspireConfigurableOpenAIExtensionsTests.cs (1)
231
? builder.AddKeyedOpenAIClientFromConfiguration("openai").
AddKeyedChatClient
("chat")
ConformanceTests.cs (1)
73
builder.AddKeyedAzureOpenAIClient(key, ConfigureCredentials).
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");
181
builder.AddOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient", "testdeployment1");
208
builder.AddOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient", "testdeployment1").Use(TestMiddleware, null);
241
builder.AddOpenAIClient("openai").
AddKeyedChatClient
("openai_chatclient", "testdeployment1").Use(TestMiddleware, null);
ConformanceTests.cs (1)
64
builder.AddKeyedOpenAIClient(key, configure).
AddKeyedChatClient
(key);
OpenAIPublicApiTests.cs (2)
62
var action = () => builder.
AddKeyedChatClient
(serviceKey);
81
var action = () => builder.
AddKeyedChatClient
(serviceKey);