fix(ui): add parse_error to MessageContentPart type union

This commit is contained in:
matevip 2026-04-22 05:08:25 +08:00
parent d8f008e427
commit 41a040de35

View File

@ -179,7 +179,7 @@ export interface MessageMetadata {
}
export interface MessageContentPart {
type: 'text' | 'thinking' | 'image' | 'file' | 'audio' | 'video' | 'tool_call'
type: 'text' | 'thinking' | 'image' | 'file' | 'audio' | 'video' | 'tool_call' | 'parse_error'
text?: string
fileUrl?: string
fileName?: string