1 reference to TryAddSingleton
Aspire.Azure.AI.OpenAI (1)
AspireAzureOpenAIExtensions.cs (1)
47builder.Services.TryAddSingleton(typeof(OpenAIClient), static provider => provider.GetRequiredService<AzureOpenAIClient>());