feat:任务大纲停止以及执行结果暂停继续逻辑完善
This commit is contained in:
@@ -359,6 +359,7 @@ export const useAgentsStore = defineStore('agents', () => {
|
||||
}
|
||||
currentTask.value = undefined
|
||||
executePlan.value = []
|
||||
hasStoppedFilling.value = false
|
||||
}
|
||||
|
||||
// 额外的产物列表
|
||||
@@ -415,6 +416,14 @@ export const useAgentsStore = defineStore('agents', () => {
|
||||
additionalOutputs.value = []
|
||||
}
|
||||
|
||||
// 标记是否用户已停止智能体分配过程
|
||||
const hasStoppedFilling = ref(false)
|
||||
|
||||
// 设置停止状态
|
||||
function setHasStoppedFilling(value: boolean) {
|
||||
hasStoppedFilling.value = value
|
||||
}
|
||||
|
||||
return {
|
||||
agents,
|
||||
setAgents,
|
||||
@@ -460,6 +469,9 @@ export const useAgentsStore = defineStore('agents', () => {
|
||||
addConfirmedAgentGroup,
|
||||
clearConfirmedAgentGroups,
|
||||
clearAllConfirmedAgentGroups,
|
||||
// 停止填充状态
|
||||
hasStoppedFilling,
|
||||
setHasStoppedFilling,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user