kenken999 commited on
Commit
a99fa7f
1 Parent(s): 001960c
Files changed (2) hide show
  1. babyagi/babyagi.py +1 -1
  2. chroma/chroma.sqlite3 +0 -0
babyagi/babyagi.py CHANGED
@@ -867,7 +867,7 @@ async def completion(message: str, history, c=None, d=None, prompt="あなたは
867
  task = tasks_storage.popleft()
868
  print("\033[92m\033[1m" + "\n*****NEXT TASK*****\n" + "\033[0m\033[0m")
869
  print(str(task["task_name"]))
870
- yield result
871
 
872
  # Send to execution function to complete the task based on the context
873
  result = execution_agent(OBJECTIVE, str(task["task_name"]))
 
867
  task = tasks_storage.popleft()
868
  print("\033[92m\033[1m" + "\n*****NEXT TASK*****\n" + "\033[0m\033[0m")
869
  print(str(task["task_name"]))
870
+ yield str(task["task_name"])
871
 
872
  # Send to execution function to complete the task based on the context
873
  result = execution_agent(OBJECTIVE, str(task["task_name"]))
chroma/chroma.sqlite3 ADDED
Binary file (147 kB). View file