fix: type

This commit is contained in:
Simon
2026-01-17 23:20:09 +08:00
parent 1ede1d9911
commit 083c002ce0

View File

@@ -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