Files
oh-my-pi/packages
can1357 bf97331311 feat(ai): added JSON healing for literal escapes and trailing junk in LLM output
- Added automatic cleaning of literal escape sequences (`\n`, `\t`, `\r`) in JSON parsing to handle LLM encoding confusion.
- Added support for healing JSON with trailing junk after balanced containers (e.g., `]\n</invoke>`).
- Implemented `cleanLiteralEscapes()` function to distinguish between literal backslash sequences outside JSON strings and actual escape sequences within strings.
- Added 2 test cases validating escape sequence cleaning and trailing junk recovery in tool argument coercion.
2026-04-08 11:49:12 +02:00
..
2026-04-05 17:38:13 +02:00
2026-04-05 17:38:13 +02:00