feat:智能体探索窗口与任务大纲探索窗口联动

This commit is contained in:
liailing1026
2026-01-12 17:27:37 +08:00
parent 3ff70463ca
commit 59fd94e783
2 changed files with 80 additions and 218 deletions

View File

@@ -337,7 +337,8 @@ export const useAgentsStore = defineStore('agents', () => {
if (plan.data) {
plan.data['Collaboration Process'] = plan.data['Collaboration Process']?.map((item) => ({
...item,
Id: uuidv4(),
// ✅ 只在任务没有 Id 时才生成新的 ID保持已存在任务的 Id 不变
Id: item.Id || uuidv4(),
}))
}
agentRawPlan.value = {