From 083c002ce082ae725000d985f48083fda5ccb13b Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Sat, 17 Jan 2026 23:20:09 +0800 Subject: [PATCH] fix: type --- packages/ui/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/types.ts b/packages/ui/src/types.ts index 1347851..2f4298a 100644 --- a/packages/ui/src/types.ts +++ b/packages/ui/src/types.ts @@ -33,7 +33,7 @@ export interface PanelAgentAdapter extends EventTarget { /** History of agent events */ readonly history: readonly { - type: 'step' | 'observation' | 'user_takeover' + type: 'step' | 'observation' | 'user_takeover' | 'error' /** For 'step' type */ reflection?: { evaluation_previous_goal?: string