mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Fixes a JSONDecodeError ('Unterminated string') in the auto-close
duplicate-issue workflow. gh api --paginate emits pages as concatenated
JSON arrays with no separators, so the previous line-based parsing broke
whenever an issue body contained an unescaped line-separator character
(U+2028, form feed, etc.) that str.splitlines treats as a newline.
Use gh api --paginate --slurp to collect pages into a single JSON array
and parse it in one json.loads call, then flatten and drop PRs.
|
||
|---|---|---|
| .. | ||
| actions/detect-backend-changes | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| dependabot.yaml | ||
| deploy-on-aws.png | ||
| deploy-on-gcp.png | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| template.yaml | ||