kenken999 commited on
Commit
44187c8
β€’
1 Parent(s): be85c6e
babyagi/babyagi.py CHANGED
@@ -854,6 +854,7 @@ async def completion(message: str, history, c=None, d=None, prompt="あγͺたは
854
  OBJECTIVE = message
855
  loop = True
856
  result_all = ""
 
857
  while loop:
858
  # As long as there are tasks in the storage...
859
  if not tasks_storage.is_empty():
@@ -917,7 +918,9 @@ async def completion(message: str, history, c=None, d=None, prompt="あγͺたは
917
 
918
  # Sleep a bit before checking the task list again
919
  #time.sleep(15)
920
- loop = False
 
 
921
  else:
922
  print('Done.')
923
  loop = False
 
854
  OBJECTIVE = message
855
  loop = True
856
  result_all = ""
857
+ count = 0
858
  while loop:
859
  # As long as there are tasks in the storage...
860
  if not tasks_storage.is_empty():
 
918
 
919
  # Sleep a bit before checking the task list again
920
  #time.sleep(15)
921
+ count += 1
922
+ if count > 6:
923
+ loop = False
924
  else:
925
  print('Done.')
926
  loop = False
chroma/6be188e8-482c-4e1e-8fbd-8157045b1e21/data_level0.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bbba3e6e221305fa28634e4ec4da7ca196bccfe8f8cf34066430385f2c38f28c
3
  size 1676000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e8df9570d6eee0469cb29270df16d9743e1cd0715ac7c2569b731e15de365db
3
  size 1676000
chroma/6be188e8-482c-4e1e-8fbd-8157045b1e21/length.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82a851e73a131006d6b1453f26018b4e791f383a36d0b29da24b04e9fe6bdfc8
3
  size 4000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f36910092da0ca37ad576a7c2062e63242ba7d56f6ef9475001506b5b48ea3bd
3
  size 4000
chroma/chroma.sqlite3 CHANGED
Binary files a/chroma/chroma.sqlite3 and b/chroma/chroma.sqlite3 differ