diff --git a/LLama.Web/Common/LLamaOptions.cs b/LLama.Web/Common/LLamaOptions.cs index 4a1d6e0a..8c16b617 100644 --- a/LLama.Web/Common/LLamaOptions.cs +++ b/LLama.Web/Common/LLamaOptions.cs @@ -1,12 +1,7 @@ -namespace LLama.Web.Common -{ - public class LLamaOptions - { - public ModelLoadType ModelLoadType { get; set; } - public List Models { get; set; } +namespace LLama.Web.Common; - public void Initialize() - { - } - } +public class LLamaOptions +{ + public ModelLoadType ModelLoadType { get; set; } + public List Models { get; set; } } diff --git a/LLama.Web/Program.cs b/LLama.Web/Program.cs index be7ee63a..499761a8 100644 --- a/LLama.Web/Program.cs +++ b/LLama.Web/Program.cs @@ -19,7 +19,6 @@ builder.Services.AddLogging((loggingBuilder) => loggingBuilder.SetMinimumLevel(L // Load InteractiveOptions builder.Services.AddOptions() - .PostConfigure(x => x.Initialize()) .BindConfiguration(nameof(LLamaOptions)); // Services DI