Browse Source

Remove old parameter

tags/v0.6.0
sa_ddam213 2 years ago
parent
commit
952e77f97b
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      LLama.Web/Models/LLamaModel.cs

+ 1
- 1
LLama.Web/Models/LLamaModel.cs View File

@@ -58,7 +58,7 @@ namespace LLama.Web.Models
if (_config.MaxInstances > -1 && ContextCount >= _config.MaxInstances)
throw new Exception($"Maximum model instances reached");

context = _weights.CreateContext(_config, _llamaLogger);
context = _weights.CreateContext(_config);
if (_contexts.TryAdd(contextName, context))
return Task.FromResult(context);



Loading…
Cancel
Save