From 41a040de358bc09e6bc533890aebb19c5b7543de Mon Sep 17 00:00:00 2001 From: matevip Date: Wed, 22 Apr 2026 05:08:25 +0800 Subject: [PATCH] fix(ui): add parse_error to MessageContentPart type union --- mateclaw-ui/src/types/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mateclaw-ui/src/types/index.ts b/mateclaw-ui/src/types/index.ts index f9b319f5..8c11283f 100644 --- a/mateclaw-ui/src/types/index.ts +++ b/mateclaw-ui/src/types/index.ts @@ -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