mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
The old fetch_open_issues assumed gh api --paginate emitted one JSON value per line and split on newlines before calling json.loads. In reality gh --paginate concatenates the raw JSON array response bodies (with embedded whitespace/newlines), so any body large enough to contain a real newline inside a string field left json.loads to parse a truncated slice, blowing up with 'Unterminated string starting at ...'. Every issues-triggered Check Duplicate Issues run has been failing because of this. Fix by asking gh to unwind each page with --jq '.[]', which emits exactly one JSON object per line and paginates safely, then json.loads each line. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| CODEOWNERS | ||
| dependabot.yaml | ||
| deploy-on-aws.png | ||
| deploy-on-gcp.png | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| template.yaml | ||