Add the model limits to the expert settings

This commit is contained in:
Thorsten Sommer committed 2026-09-13 08:54:44 +02:00
1 parent bb22b3c10a
commit d8a30c4e60
6 files changed
+251 -2

No files matched your search

@@ -507,7 +507,7 @@ public sealed record ProviderCapabilityOverrides
/// <returns>True, when the value is a number, this key accepts.</returns>
private static bool TryReadNumber(LuaValue value, string numericKey, out int number)
{
if (!value.TryRead<int>(out number))
if (!value.TryRead(out number))
return false;
return numericKey is CONTEXT_WINDOW_KEY ? number > 0 : number >= 0;