kenken999 commited on
Commit
4a1bc1d
1 Parent(s): 9bbd1ca
babyagi/babyagi.py CHANGED
@@ -948,8 +948,12 @@ def completion(message: str, history=None, c=None, d=None, prompt="あなたは
948
  if not JOIN_EXISTING_OBJECTIVE:
949
  prioritized_tasks = prioritization_agent()
950
  if prioritized_tasks:
951
- tasks_storage.replace(prioritized_tasks)
952
-
 
 
 
 
953
  # Sleep a bit before checking the task list again
954
  time.sleep(1)
955
  count += 1
 
948
  if not JOIN_EXISTING_OBJECTIVE:
949
  prioritized_tasks = prioritization_agent()
950
  if prioritized_tasks:
951
+ try:
952
+ tasks_storage.replace(prioritized_tasks)
953
+ except Exception as e:
954
+ print(f"Error during replace: {e}")
955
+ pass
956
+
957
  # Sleep a bit before checking the task list again
958
  time.sleep(1)
959
  count += 1
chat_history.db CHANGED
Binary files a/chat_history.db and b/chat_history.db differ
 
controllers/gpt_enginner20240624152101 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit c23779b34cc15f530509f8f81f92e91de9129866