4 writes to Endpoint
Aspire.Azure.AI.OpenAI (2)
AzureOpenAISettings.cs (2)
94Endpoint = uri; 105Endpoint = serviceUri;
Aspire.Azure.AI.OpenAI.Tests (2)
AspireAzureAIOpenAIExtensionsTests.cs (2)
93builder.AddKeyedAzureOpenAIClient("openai", settings => { settings.Endpoint = uri; settings.Key = key; }); 97builder.AddAzureOpenAIClient("openai", settings => { settings.Endpoint = uri; settings.Key = key; });
4 references to Endpoint
Aspire.Azure.AI.OpenAI (4)
AspireAzureOpenAIExtensions.cs (4)
91if (settings.Endpoint is null) 93throw new InvalidOperationException($"An OpenAIClient could not be configured. Ensure valid connection information was provided in 'ConnectionStrings:{connectionName}' or specify a '{nameof(AzureOpenAISettings.Endpoint)}' or '{nameof(AzureOpenAISettings.Key)}' in the '{configurationSectionName}' configuration section."); 102return new AzureOpenAIClient(settings.Endpoint, credential, options); 106return new AzureOpenAIClient(settings.Endpoint, settings.Credential ?? new DefaultAzureCredential(), options);