Skip to content

Commit c352846

Browse files
committed
修复TraceItem类型错误
1 parent 3c566b3 commit c352846

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/app/page.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,33 @@ const sampleData = {
1111
screenshot: 'public/screenshots/image.png',
1212
thought: 'Agent正在分析当前屏幕内容,识别出用户正在浏览文档并尝试找到特定信息。通过分析屏幕元素和文本内容,我确定用户可能需要帮助导航到文档的特定部分。',
1313
video: 'public/videos/test.mp4',
14+
action: '分析文档导航',
15+
timeRange: {
16+
start: 0,
17+
end: 20
18+
}
1419
},
1520
{
1621
timestamp: '2024-03-20T10:02:30Z',
1722
screenshot: 'public/screenshots/image.png',
1823
thought: 'Agent观察到用户正在尝试编辑文本,但似乎遇到了格式问题。我识别出这是一个文本格式化任务,用户可能需要帮助使用合适的快捷键或菜单选项来完成任务。',
1924
video: 'public/videos/test.mp4',
25+
action: '辅助文本格式化',
26+
timeRange: {
27+
start: 20,
28+
end: 40
29+
}
2030
},
2131
{
2232
timestamp: '2024-03-20T10:05:15Z',
2333
screenshot: 'public/screenshots/image.png',
2434
thought: 'Agent识别出用户正在搜索特定信息。基于用户的搜索模式和浏览行为,我推断用户正在寻找与"机器学习数据分析"相关的资料,可能是为了一个研究项目或学习任务。',
2535
video: 'public/videos/test.mp4',
36+
action: '协助信息搜索',
37+
timeRange: {
38+
start: 40,
39+
end: 60
40+
}
2641
},
2742
],
2843
};

0 commit comments

Comments
 (0)