add more components in pipeline

This commit is contained in:
yzlin 2023-11-24 14:05:11 +08:00
parent 3d18dfe2b5
commit fdef9c8547
7 changed files with 82 additions and 41 deletions

View file

@ -84,6 +84,7 @@ class Task(BaseModel):
class Plan(BaseModel):
goal: str
tasks: list[Task] = []
task_map: dict[str, Task] = {}
current_task_id = ""