mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
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:
@@ -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