mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 19:49:59 +08:00
Mimic mode never parsed a paper uploaded from the web composer. The turn executor stores every upload in the attachment store and then clears the inline base64 of each document it has extracted, so the PDF attachment reached DeepQuestionCapability with an empty base64. The upload branch was skipped and the turn fell back to the plain-text "[Attached Documents]" hint: no exam parsing, no question extraction and no templates. When the attachment carries no inline bytes, the capability now resolves the stored file by session and attachment id, the same lookup the chat PDF parser uses, and parses it as before. Inline base64 is still used when present. Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>