Skip to content

Commit 5f94629

Browse files
committed
rename the contextLength variable
1 parent a0624e6 commit 5f94629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/LLM.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public void SetModel(string path)
218218
if (contextSize > maxContextLength) contextSize = maxContextLength;
219219
if (contextSize == 0 && modelEntry.contextLength > 32768)
220220
{
221-
LLMUnitySetup.LogWarning($"The model {path} has very large context size ({maxContextLength}), consider setting it to a smaller value (<=32768) to avoid filling up the RAM");
221+
LLMUnitySetup.LogWarning($"The model {path} has very large context size ({modelEntry.contextLength}), consider setting it to a smaller value (<=32768) to avoid filling up the RAM");
222222
}
223223
}
224224
#if UNITY_EDITOR

0 commit comments

Comments
 (0)