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:
1 parent
023ca2e4c1
commit
3316ee6923
18 files changed
+909
-73
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user