litellm/.github/scripts
Cursor Agent 846e60a319
fix(ci): use --jq '.[]' to flatten gh api --paginate output
The check-duplicate workflow's auto-close step failed with:

  json.decoder.JSONDecodeError: Unterminated string starting at:
  line 1 column 2856598

`gh api --paginate` without --jq concatenates each page's response as a
pretty-printed JSON array spanning many lines; splitting that on newlines
and feeding individual lines to json.loads cannot work. Pass --jq '.[]'
so each issue is emitted as a single line of JSON, which the line-by-line
parser handles correctly.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-05-19 19:51:21 +00:00
..
close_duplicate_issues.py fix(ci): use --jq '.[]' to flatten gh api --paginate output 2026-05-19 19:51:21 +00:00
scan_keywords.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00