feat(web): support image messages in pico chat (#2299)

This commit is contained in:
wenjie
2026-04-03 14:15:20 +08:00
committed by GitHub
parent f3ad5d9305
commit f2a19ab947
21 changed files with 1009 additions and 79 deletions
+5 -3
View File
@@ -1,5 +1,3 @@
// Sessions API — list and retrieve chat session history
import { launcherFetch } from "@/api/http"
export interface SessionSummary {
@@ -13,7 +11,11 @@ export interface SessionSummary {
export interface SessionDetail {
id: string
messages: { role: "user" | "assistant"; content: string }[]
messages: {
role: "user" | "assistant"
content: string
media?: string[]
}[]
summary: string
created: string
updated: string