mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 10:26:32 +02:00
code adapted to v0.6
This commit is contained in:
parent
4ec6151691
commit
cd990fd5c9
15 changed files with 80 additions and 77 deletions
|
|
@ -337,7 +337,7 @@ class Plan(BaseModel):
|
|||
context: str = ""
|
||||
tasks: list[Task] = []
|
||||
task_map: dict[str, Task] = {}
|
||||
current_task_id = ""
|
||||
current_task_id: str = ""
|
||||
|
||||
def _topological_sort(self, tasks: list[Task]):
|
||||
task_map = {task.task_id: task for task in tasks}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue