1 reference to TryAddKeyedSingleton
Aspire.Azure.AI.OpenAI (1)
AspireAzureOpenAIExtensions.cs (1)
70builder.Services.TryAddKeyedSingleton(typeof(OpenAIClient), serviceKey: name, static (provider, key) => provider.GetRequiredKeyedService<AzureOpenAIClient>(key));