Marc-André Bombeck
57cf8340e2
fix(insights): retry the comprehensive JSON parse once before failing
...
The comprehensive generator did an ad-hoc JSON.parse with no corrective
retry and failed cold to `invalid-json` on a first-pass miss, while the
strict insight wrapper's `buildRetryCorrectionMessage` sat right next
door. Export that helper and reuse it: on a parse miss, append the
correction to the user prompt and re-run the chain once before declaring
failure. Unifies the JSON-robustness story across the two paths.
2026-06-19 21:06:53 +02:00
..
2026-06-19 21:06:53 +02:00
2026-06-16 22:25:50 +02:00
2026-06-19 21:01:27 +02:00
2026-06-05 13:58:28 +02:00
2026-06-14 10:25:18 +02:00
2026-06-14 10:25:18 +02:00
2026-05-21 19:33:07 +02:00
2026-06-15 00:17:51 +02:00
2026-06-10 22:41:28 +02:00
2026-05-31 22:12:25 +02:00
2026-06-04 10:05:47 +02:00
2026-06-19 21:06:53 +02:00
2026-06-05 23:58:40 +02:00
2026-06-04 18:09:07 +02:00
2026-06-02 23:13:26 +02:00
2026-05-17 13:22:51 +02:00
2026-06-19 20:27:36 +02:00
2026-06-14 10:25:18 +02:00
2026-05-21 12:48:02 +02:00
2026-06-04 12:38:25 +02:00
2026-06-01 20:26:26 +02:00
2026-06-16 00:59:04 +02:00
2026-06-02 14:03:00 +02:00
2026-06-14 21:22:41 +02:00
2026-06-11 02:19:27 +02:00
2026-06-05 23:57:39 +02:00
2026-06-18 20:17:04 +02:00
2026-06-14 10:25:18 +02:00
2026-06-12 22:55:50 +02:00
2026-06-12 22:55:50 +02:00
2026-06-14 10:25:18 +02:00
2026-05-14 23:49:32 +02:00
2026-06-14 10:25:18 +02:00
2026-06-16 22:25:50 +02:00
2026-03-10 20:14:33 +01:00
2026-06-02 23:40:24 +02:00
2026-06-11 22:49:42 +02:00
2026-06-14 10:25:18 +02:00
2026-06-19 21:01:27 +02:00
2026-06-11 21:17:05 +02:00
2026-06-03 20:07:46 +02:00
2026-06-02 23:40:24 +02:00
2026-06-14 21:22:41 +02:00
2026-06-04 17:47:17 +02:00
2026-06-01 08:59:59 +02:00
2026-06-18 21:24:02 +02:00
2026-06-04 17:05:35 +02:00
2026-06-05 10:42:47 +02:00
2026-06-03 08:56:20 +02:00
2026-06-14 10:25:18 +02:00
2026-06-02 17:34:52 +02:00