diff --git a/LLama.Web/Models/LLamaModel.cs b/LLama.Web/Models/LLamaModel.cs index 5aedc5f5..61341d42 100644 --- a/LLama.Web/Models/LLamaModel.cs +++ b/LLama.Web/Models/LLamaModel.cs @@ -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);