2 overrides of ConfigurationSectionName
Aspire.Azure.AI.Extensions.OpenAI (2)
AspireAzureOpenAIClientBuilder.cs (1)
23public override string ConfigurationSectionName => ServiceKey is null
AspireAzureProjectOpenAIClientBuilder.cs (1)
23public override string ConfigurationSectionName => ServiceKey is null
3 references to ConfigurationSectionName
Aspire.Azure.AI.Extensions.OpenAI.Tests (1)
AspireConfigurableOpenAIExtensionsTests.cs (1)
43Assert.Equal(keyed ? $"{section}:chat" : section, registration.ConfigurationSectionName);
Aspire.OpenAI (2)
AspireOpenAIClientBuilder.cs (2)
90var configSection = configuration.GetSection(ConfigurationSectionName); 96throw new InvalidOperationException($"The deployment could not be determined. Ensure a '{DeploymentKey}' or '{ModelKey}' value is provided in 'ConnectionStrings:{ConnectionName}', or specify a '{DeploymentKey}' in the '{ConfigurationSectionName}' configuration section, or specify a '{nameof(deploymentName)}' in the call.");