Feat: repair corrupted PDF files on upload automatically (#7693)

### What problem does this PR solve?

Try the best to repair corrupted PDF files on upload automatically.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Yongteng Lei
2025-05-19 14:54:06 +08:00
committed by GitHub
parent 7df1bd4b4a
commit 0ebf05440e
5 changed files with 251 additions and 323 deletions

View File

@ -50,9 +50,9 @@ jobs:
# https://github.com/astral-sh/ruff-action
- name: Static check with Ruff
uses: astral-sh/ruff-action@v2
uses: astral-sh/ruff-action@v3
with:
version: ">=0.8.2"
version: ">=0.11.x"
args: "check"
- name: Build ragflow:nightly-slim