fix(pico): separate thought and normal messages

This commit is contained in:
lc6464 committed 2026-04-10 20:23:12 +08:00
1 parent 748ac58dd1
commit c8bac699fe
15 files changed
+300 -24

No files matched your search

+3
View File
@@ -11,11 +11,14 @@ export interface ChatAttachment {
filename?: string
}
export type AssistantMessageKind = "normal" | "thought"
export interface ChatMessage {
id: string
role: "user" | "assistant"
content: string
timestamp: number | string
kind?: AssistantMessageKind
attachments?: ChatAttachment[]
}