mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-16 23:31:38 +00:00
* fix(ollama): use truncateUtf16Safe for malformed NDJSON log warning The parseNdjsonStream function uses naive .slice(0, 120) on malformed NDJSON data in log warnings which can split surrogate pairs. Replace with truncateUtf16Safe(). * test(ollama): cover UTF-16-safe NDJSON warnings * test(ollama): satisfy lint in NDJSON coverage --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
106 KiB
106 KiB