mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 13:29:44 +02:00
OpenClaw outputs its --json result as pretty-printed multi-line JSON to stderr. The line-by-line scanner never found a valid JSON object on any single line, causing the raw JSON to be returned as the chat response. After exhausting line-by-line parsing, try parsing the accumulated output as a whole before falling back to raw text. Closes MUL-725