mirror of
https://github.com/Sea-Haven-Industries/pr-reviewer.git
synced 2026-09-30 06:53:16 +00:00
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.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config.py | ||
| github_client.py | ||
| handbook.py | ||
| main.py | ||
| reviewer.py | ||
| store.py | ||
| worker.py | ||