Skip to content

Commit 18b1518

Browse files
committed
Added logger parameter in to LLama.Web context creation
1 parent 328022b commit 18b1518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LLama.Web/Models/LLamaModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public Task<LLamaContext> CreateContext(string contextName)
5858
if (_config.MaxInstances > -1 && ContextCount >= _config.MaxInstances)
5959
throw new Exception($"Maximum model instances reached");
6060

61-
context = _weights.CreateContext(_config);
61+
context = _weights.CreateContext(_config, _llamaLogger);
6262
if (_contexts.TryAdd(contextName, context))
6363
return Task.FromResult(context);
6464

0 commit comments

Comments
 (0)