webui : handle PDF input (as text or image) + convert pasted long content to file (#13562)

* webui : handle PDF input (as text or image)

* handle the case where pdf image + server without mtmd

* fix bug missing pages
This commit is contained in:
Xuan-Son Nguyen 2025-05-15 14:24:50 +02:00 committed by GitHub
parent c753d7bed0
commit 3cc1f1f1d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 425 additions and 22 deletions

View file

@ -21,6 +21,7 @@
"dexie": "^4.0.11",
"highlight.js": "^11.10.0",
"katex": "^0.16.15",
"pdfjs-dist": "^5.2.133",
"postcss": "^8.4.49",
"react": "^18.3.1",
"react-dom": "^18.3.1",