Files
hermes-agent/tests/agent
Teknium 27edc417d7 fix: end a same-name call on closed brackets, scanned incrementally
Review follow-up. Strict json.loads treated a repairable first call
(trailing comma) as unfinished, so a second same-tool call at index 0 was
glued onto it and both were lost; main repairs and runs both. It also
re-joined and re-parsed the whole argument prefix on every repeated-name
fragment (17 s on a 256 KiB write_file in 3-char fragments).

Track bracket depth outside strings instead, scanning only fragments
added since the last check: structural completion, linear, and zero cost
for providers that never resend the name.
2026-10-17 04:25:00 -07:00
..