Browse Source

Removed unused code.

pull/718/head
Michael Lamothe 2 years ago
parent
commit
dd224a8158
2 changed files with 5 additions and 11 deletions
  1. +5
    -10
      LLama.Web/Common/LLamaOptions.cs
  2. +0
    -1
      LLama.Web/Program.cs

+ 5
- 10
LLama.Web/Common/LLamaOptions.cs View File

@@ -1,12 +1,7 @@
namespace LLama.Web.Common
{
public class LLamaOptions
{
public ModelLoadType ModelLoadType { get; set; }
public List<ModelOptions> Models { get; set; }
namespace LLama.Web.Common;

public void Initialize()
{
}
}
public class LLamaOptions
{
public ModelLoadType ModelLoadType { get; set; }
public List<ModelOptions> Models { get; set; }
}

+ 0
- 1
LLama.Web/Program.cs View File

@@ -19,7 +19,6 @@ builder.Services.AddLogging((loggingBuilder) => loggingBuilder.SetMinimumLevel(L

// Load InteractiveOptions
builder.Services.AddOptions<LLamaOptions>()
.PostConfigure(x => x.Initialize())
.BindConfiguration(nameof(LLamaOptions));

// Services DI


Loading…
Cancel
Save