mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-26 13:16:24 +00:00
* fix(uploads): keep OSError text out of upload, delete and attach 500s Thread upload, upload delete and shelf attach-to-thread put str(exc) in their 500 detail. A staging or unlink OSError names its file, so a permission error, or a disk too full for mkstemp, returned the absolute host path of the thread's uploads directory, user and thread IDs included. Return a fixed detail that still names the caller's file. The existing error log lines keep the full message for operators. * docs(changelog): reference #7217 for the upload 500 detail fix --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>