mirror of
https://github.com/alphaXiv/OpenResearch.git
synced 2026-10-02 09:44:51 +08:00
* Add PDF/file upload to the chat composer Add a paperclip button (and paste/drag-drop) that attaches PDFs and images to a chat message. Files ride the existing base64 attachment pipeline, are saved to disk preserving the original name, and their paths are injected into the turn as <attached-files> so the agent Reads them (Claude Code handles PDFs natively). Raise the API request-body limit to 64 MB (axum's 2 MB default rejected any real paper, surfacing as a client NetworkError) and add a 30 MB per-file client guard with an inline error. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * Rebuild UI bundle for PDF/file upload Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * Address review: aggregate size guard, a11y, theme color, comments Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * cargo fmt Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>