feat(web): download files on frontend (#2563)

* feat(web): download attachments in frontend

* fix: proxy pico media and force svg downloads

* feat(web): hide ephemeral media refs from persisted session history
This commit is contained in:
Mauro authored and GitHub committed 2026-04-22 11:28:04 +08:00
1 parent 023ca2e4c1
commit 3316ee6923
18 files changed
+909 -73

No files matched your search

+6
View File
@@ -15,6 +15,12 @@ export interface SessionDetail {
role: "user" | "assistant"
content: string
media?: string[]
attachments?: {
type?: "image" | "audio" | "video" | "file"
url: string
filename?: string
content_type?: string
}[]
}[]
summary: string
created: string