kenken999 commited on
Commit
001960c
1 Parent(s): daeeecc
Files changed (1) hide show
  1. babyagi/babyagi.py +1 -1
babyagi/babyagi.py CHANGED
@@ -861,7 +861,7 @@ async def completion(message: str, history, c=None, d=None, prompt="あなたは
861
  print("\033[95m\033[1m" + "\n*****TASK LIST*****\n" + "\033[0m\033[0m")
862
  for t in tasks_storage.get_task_names():
863
  print(" • " + str(t))
864
- result yield
865
 
866
  # Step 1: Pull the first incomplete task
867
  task = tasks_storage.popleft()
 
861
  print("\033[95m\033[1m" + "\n*****TASK LIST*****\n" + "\033[0m\033[0m")
862
  for t in tasks_storage.get_task_names():
863
  print(" • " + str(t))
864
+ yield str(t)
865
 
866
  # Step 1: Pull the first incomplete task
867
  task = tasks_storage.popleft()