You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Desktop: dropping an image onto the window is rejected, though chat accepts image attachments #7963
Dragging a PNG or JPG onto the desktop window is refused with "Supported files: .pdf,.txt,.md,.markdown,.docx,.html,.htm, or a single .gguf model", even though the composer accepts image attachments for vision models.
The drop classifier derives its whitelist from the RAG upload list, studio/frontend/src/features/rag/types/rag.ts:80:
drop-paths.ts:6 reuses that for DOC_EXTS, so image types were never in scope. #7668 added document drops the same way and images were simply not part of it.
Fix: give the drop classifier its own image extension set routed to the attachment path, rather than widening RAG_UPLOAD_ACCEPT, which would also change what the knowledge-base uploader accepts.
Activity
test(studio): guard the drop MIME seam the same way as the extension …
Fix desktop image drops routed to chat attachments (Fixes unslothai#7963
test(studio): guard the drop MIME seam the same way as the extension …
Fix desktop image drops for chat attachments (#7982)