From 1a00b9276ce5e6ff1bc4fe31e4f9636ede0834f3 Mon Sep 17 00:00:00 2001 From: matevip Date: Wed, 22 Apr 2026 10:13:01 +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