feat:智能体探索窗口与任务大纲探索窗口联动
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user