[Bugfix][Parser] Stop re-parsing the whole GLM tool argument per chunk (#61253)

Signed-off-by: Maroon Ayoub <mayoub@redhat.com>
Co-authored-by: Flora Feng <4florafeng@gmail.com>
This commit is contained in:
Maroon Ayoub
2026-10-12 21:28:35 +00:00
committed by GitHub
co-authored by Flora Feng
parent 69d54eb078
commit 44f0ddfd7b
5 changed files with 226 additions and 26 deletions
+1 -1
View File
@@ -1711,7 +1711,7 @@ class TestSafeArgPrefix:
],
)
def test_safe_arg_prefix(self, json_str, expected):
assert ParserEngine._safe_arg_prefix(json_str) == expected
assert ParserEngine._safe_arg_prefix(json_str)[0] == expected
# ── Coercion instability regression tests ────────────────────────