18 references to AddKeyedChatClient
Aspire.Azure.AI.OpenAI.Tests (8)
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")
Aspire.OpenAI.Tests (10)
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);
OpenAIPublicApiTests.cs (2)
60
var action = () => builder.
AddKeyedChatClient
(serviceKey);
78
var action = () => builder.
AddKeyedChatClient
(serviceKey);