mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
post_pull_request_review used to swallow the HTTPError and return None, so the tool result was just "Failed to POST PR review" with no status or body — the actual cause (e.g. 422 invalid inline comment, 404 app not installed) only lived in logs. Capture status + body and propagate into the tool result so the agent (and traces) can see why. |
||
|---|---|---|
| .. | ||
| integrations | ||
| middleware | ||
| tools | ||
| utils | ||
| encryption.py | ||
| prompt.py | ||
| reviewer.py | ||
| reviewer_diff.py | ||
| reviewer_findings.py | ||
| reviewer_publish.py | ||
| server.py | ||
| webapp.py | ||