3 instantiations of OpenAISettings
Aspire.OpenAI (1)
AspireOpenAIExtensions.cs (1)
74OpenAISettings settings = new();
Aspire.OpenAI.Tests (2)
OpenAISettingsTests.cs (2)
27Assert.Equal(expectedValue, new OpenAISettings().DisableMetrics); 32Assert.Equal(expectedValue, new OpenAISettings().DisableTracing);
13 references to OpenAISettings
Aspire.OpenAI (7)
AspireOpenAIExtensions.cs (6)
26/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="OpenAISettings"/>. It's invoked after the settings are read from the configuration.</param> 32Action<OpenAISettings>? configureSettings = null, 46/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="OpenAISettings"/>. It's invoked after the settings are read from the configuration.</param> 52Action<OpenAISettings>? configureSettings = null, 64Action<OpenAISettings>? configureSettings, 74OpenAISettings settings = new();
AssemblyInfo.cs (1)
8[assembly: ConfigurationSchema("Aspire:OpenAI", typeof(OpenAISettings))]
Aspire.OpenAI.Tests (6)
AspireOpenAIExtensionsTests.cs (1)
145OpenAISettings? localSettings = null;
ConformanceTests.cs (5)
14public class ConformanceTests : ConformanceTests<OpenAIClient, OpenAISettings> 55protected override void RegisterComponent(HostApplicationBuilder builder, Action<OpenAISettings>? configure = null, string? key = null) 75protected override void SetHealthCheck(OpenAISettings options, bool enabled) 78protected override void SetMetrics(OpenAISettings options, bool enabled) 81protected override void SetTracing(OpenAISettings options, bool enabled)