3 instantiations of OpenAISettings
Aspire.OpenAI (1)
AspireOpenAIExtensions.cs (1)
76
OpenAISettings settings =
new
();
Aspire.OpenAI.Tests (2)
OpenAISettingsTests.cs (2)
27
Assert.Equal(expectedValue, new
OpenAISettings
().DisableMetrics);
32
Assert.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>
33
Action<
OpenAISettings
>? configureSettings = null,
47
/// <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>
54
Action<
OpenAISettings
>? configureSettings = null,
66
Action<
OpenAISettings
>? configureSettings,
76
OpenAISettings
settings = new();
AssemblyInfo.cs (1)
8
[assembly: ConfigurationSchema("Aspire:OpenAI", typeof(
OpenAISettings
))]
Aspire.OpenAI.Tests (6)
AspireOpenAIExtensionsTests.cs (1)
145
OpenAISettings
? localSettings = null;
ConformanceTests.cs (5)
14
public class ConformanceTests : ConformanceTests<OpenAIClient,
OpenAISettings
>
55
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
OpenAISettings
>? configure = null, string? key = null)
75
protected override void SetHealthCheck(
OpenAISettings
options, bool enabled)
78
protected override void SetMetrics(
OpenAISettings
options, bool enabled)
81
protected override void SetTracing(
OpenAISettings
options, bool enabled)