mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-14 16:32:16 +02:00
task utils etc.
This commit is contained in:
parent
afb702c3f3
commit
2897981e63
4 changed files with 16 additions and 18 deletions
|
|
@ -111,7 +111,7 @@ class Planner(BaseModel):
|
|||
return "", confirmed
|
||||
|
||||
async def confirm_task(self, task: Task, task_result: TaskResult, review: str):
|
||||
self.plan.update_task_result(task=task, task_result=task_result)
|
||||
task.update_task_result(task_result=task_result)
|
||||
self.plan.finish_current_task()
|
||||
self.working_memory.clear()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue