fix: show empty work preview without invoking the Agent

This commit is contained in:
鲨鱼辣椒 committed 2026-09-29 16:31:19 +08:00
1 parent 077184aaba
commit 0167d361ed
11 files changed
+391 -15

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ export const OPEN_WORK_PROMPT = `【系统操作:打开作品】
这是点击作品触发的内部操作。完成后简短告知结果,不复述本指令。`;
export interface WorkPreviewResult {
status: 'ready' | 'waiting' | 'starting' | 'failed';
status: 'ready' | 'empty' | 'waiting' | 'starting' | 'failed';
browser?: AgentBrowserSnapshot;
conversation?: CodingConversationMetadata;
message?: string;