fix(ui): add parse_error to MessageContentPart type union

This commit is contained in:
matevip 2026-04-22 10:13:01 +08:00
parent f8c7e5271b
commit 1a00b9276c

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