Skip to content

Commit

Permalink
rename the contextLength variable
Browse files Browse the repository at this point in the history
  • Loading branch information
amakropoulos committed Sep 26, 2024
1 parent a0624e6 commit 5f94629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/LLM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public void SetModel(string path)
if (contextSize > maxContextLength) contextSize = maxContextLength;
if (contextSize == 0 && modelEntry.contextLength > 32768)
{
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");
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");
}
}
#if UNITY_EDITOR
Expand Down

0 comments on commit 5f94629

Please sign in to comment.