1 write to Key
Aspire.Azure.AI.Inference (1)
ChatCompletionsClientSettings.cs (1)
146Key = key.ToString();
3 references to Key
Aspire.Azure.AI.Inference (3)
AspireAzureAIInferenceExtensions.cs (3)
120throw new InvalidOperationException($"A ChatCompletionsClient could not be configured. Ensure valid connection information was provided in 'ConnectionStrings:{connectionName}' or specify a '{nameof(ChatCompletionsClientSettings.Endpoint)}' and optionally a '{nameof(ChatCompletionsClientSettings.Key)}' in the '{configurationSectionName}' configuration section."); 127if (!string.IsNullOrEmpty(settings.Key)) 129var credential = new AzureKeyCredential(settings.Key);