fixed patch (AI slop!!!)

This commit is contained in:
Donato Capitella
2026-03-25 09:36:50 +00:00
parent ca84f4cbf3
commit 614b00af3e
+7 -5
View File
@@ -1,13 +1,15 @@
From: KYmidnight
Issue: https://github.com/kyuz0/amd-strix-halo-toolboxes/issues/70
Subject: Increase MAX_REPETITION_THRESHOLD for complex tool schemas
Subject: Increase MAX_REPETITION_THRESHOLD to 100000 for complex tool schemas
--- a/src/llama-grammar.cpp
+++ b/src/llama-grammar.cpp
@@ -14,7 +14,7 @@
@@ -10,7 +10,7 @@
#include <set>
#include <stdexcept>
// allow to be at least defined in CMakeLists.txt
#ifndef MAX_REPETITION_THRESHOLD
-#define MAX_REPETITION_THRESHOLD 2000
+#define MAX_REPETITION_THRESHOLD 100000
#endif
//
// helpers
//