1 write to ConnectionName
Aspire.OpenAI (1)
AspireOpenAIClientBuilder.cs (1)
29ConnectionName = connectionName;
3 references to ConnectionName
Aspire.OpenAI (3)
AspireOpenAIClientBuilder.cs (3)
64if (configuration.GetConnectionString(ConnectionName) is string connectionString) 76$"The connection string '{ConnectionName}' contains both '{DeploymentKey}' and '{ModelKey}' keys. Either of these may be specified, but not both."); 90throw 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.");