Skip to content

Commit

Permalink
Merge pull request #176 from kyaukyuai/fix/gpt_all_star
Browse files Browse the repository at this point in the history
Fix/gpt all star
  • Loading branch information
kyaukyuai authored Mar 16, 2024
2 parents 597887d + cb860b4 commit ef63d1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gpt_all_star/core/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ def chat(self, message: str) -> None:
if step.__class__ is Specification:
step.instructions = message
step.app_type = self._("Client-Side Web Application")
for agent in self.agents.to_array():
agent.set_executor(step.working_directory)
supervisor_name = (
Chain()
.create_assign_supervisor_chain(members=self.agents.to_array())
Expand Down Expand Up @@ -185,6 +187,8 @@ def chat(self, message: str) -> None:
for task in step.additional_tasks():
tasks["plan"].append(task)

yield {"tasks": tasks}

count = 1
while len(tasks["plan"]) > 0:
task = tasks["plan"][0]
Expand Down

0 comments on commit ef63d1b

Please sign in to comment.