mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
The script previously called `gh api --paginate` and split the raw response on newlines before json.loads()'ing each line. This is unsafe because each page is a JSON array on a single conceptual line, and any issue `body` field containing literal newlines makes splitlines() cut the JSON apart, producing fragments that fail with `Unterminated string starting at: line 1 column ...`. Pass `--jq '.[]'` so gh emits each issue as a single compact JSON object per line (with embedded newlines escaped). The loop then parses one object per line safely. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| close_duplicate_issues.py | ||
| scan_keywords.py | ||