Repository navigation
v0.8.2 — analyze JSON extraction
The Chaptions AI analysis could dump a wall of raw reasoning prose into the dashboard when the answering model narrates its thinking instead of returning clean JSON.
extractReport()walks balanced-brace JSON blocks anywhere in the reply and takes the first with a report shape — reasoning-then-JSON models now render as proper charts- A slot answering with no JSON rotates to the next model slot instead of giving up; raw text is only the last resort after all three slots fail
- Prompt hardened with the JSON-only contract at the end
Full changelog: v0.8.1...v0.8.2