v0.6.65: memory fix, image uploads in files#4422
Conversation
…ET (#4421) * fix(memory): return 200 with null data when memory key not found on GET * test(memory): add null-data path test for memory_get transformResponse
* feat(files): allow image uploads in workspace files * fix(files): include images in workspace type filter * fix(files): match all image mime types in image filter
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Extends workspace Files to support image uploads by adding Reviewed by Cursor Bugbot for commit 14c93f6. Configure here. |
Greptile SummaryThis PR bundles two small improvements: the memory GET route now returns Confidence Score: 4/5Safe to merge — both changes are targeted fixes with no breaking behavior. Only P2 findings: a missing image branch in getSupportedMimeTypes (exported but unused for images) and an inline MIME check inconsistent with the audio/video pattern. No correctness or security regressions introduced. apps/sim/lib/uploads/utils/validation.ts — getSupportedMimeTypes does not handle the newly exported image extensions. Important Files Changed
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 14c93f6. Configure here.
* fix(files): align upload route image extensions with picker * fix(files): widen image mime mapping for chat/profile/logo uploads * fix(files): fall back to extension when MIME is generic for image-only uploads Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix(files): add new image extensions to EXTENSION_TO_MIME map Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix(files): skip non-Claude image MIMEs in createFileContent Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix(files): resolve content type for image-only contexts when MIME is generic Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix(files): cover image/jpg in Claude gate, reverse MIME map, audit metadata Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

Uh oh!
There was an error while loading. Please reload this page.