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 | ||
| conftest.py | ||
| test_endpoints.py | ||
| test_fireworks_live.py | ||
| test_github_client.py | ||
| test_handbook.py | ||
| test_reviewer.py | ||
| test_store.py | ||
| test_worker.py | ||