pr-reviewer/app
Adam Moussa c07e4397aa
Harden review JSON parsing against reasoning models
Some Fireworks models emit chain-of-thought before the JSON review, and
that preamble can contain stray "{". The old first-"{"-to-last-"}" span
then grabbed reasoning braces and failed to parse (seen live on a real
PR). Scan each "{" and return the first substring that actually decodes
to an object instead, so a preamble or trailing prose no longer breaks
the review.
2026-07-01 19:11:09 -04:00
..
__init__.py Add pr-reviewer local PR review tool 2026-07-01 13:48:10 -04:00
config.py Ground reviews in the engineering-handbook 2026-07-01 17:08:21 -04:00
github_client.py Add pr-reviewer local PR review tool 2026-07-01 13:48:10 -04:00
handbook.py Ground reviews in the engineering-handbook 2026-07-01 17:08:21 -04:00
main.py Ground reviews in the engineering-handbook 2026-07-01 17:08:21 -04:00
reviewer.py Harden review JSON parsing against reasoning models 2026-07-01 19:11:09 -04:00
store.py Add background auto-review worker with SQLite cache 2026-07-01 14:28:11 -04:00
worker.py Ground reviews in the engineering-handbook 2026-07-01 17:08:21 -04:00