mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-22 21:50:42 -05:00
The file picker and Files modal only render filenames and metadata, but searchFiles()/getFiles() never passed content=false, so the backend serialized data.content (full extracted text) of every file into each response. On instances with many large documents this turns a metadata list into tens of MB per request, re-issued on every picker keystroke. The backend already supports content=false on GET /files/ and GET /files/search; this just makes the list/search callers opt out of the payload by default. The param stays overridable for callers that need it. Fixes #25741 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>