Spaces:
Running
on
Zero
Running
on
Zero
df
Browse files- babyagi/babyagi.py +3 -3
- chat_history.db +0 -0
- controllers/gpt_enginner20240624101533 +1 -0
- controllers/gpt_enginner20240624101712 +1 -0
- controllers/gpt_enginner20240624101901 +1 -0
- controllers/gpt_enginner20240624102749 +1 -0
- controllers/gpt_enginner20240624103101 +1 -0
- controllers/gpt_enginner20240624103250 +1 -0
- workspace/add_numbers.py +2 -0
babyagi/babyagi.py
CHANGED
@@ -813,7 +813,7 @@ def main():
|
|
813 |
print(" • " + str(t))
|
814 |
#yield str(t)
|
815 |
result_all += str(t)+"\r\n"
|
816 |
-
send_google_chat_card(webhook_url,OBJECTIVE,result_all,"タスク定義","タスク定義")
|
817 |
|
818 |
# Step 1: Pull the first incomplete task
|
819 |
task = tasks_storage.popleft()
|
@@ -822,7 +822,7 @@ def main():
|
|
822 |
print(str(task["task_name"]))
|
823 |
#yield str(task["task_name"])
|
824 |
result_all += str(task["task_name"])+"\r\n"
|
825 |
-
send_google_chat_card(webhook_url,OBJECTIVE,result_all,"タスク定義","タスク定義")
|
826 |
|
827 |
|
828 |
# Send to execution function to complete the task based on the context
|
@@ -832,7 +832,7 @@ def main():
|
|
832 |
print(result)
|
833 |
#yield result
|
834 |
result_all += result+"\r\n"
|
835 |
-
send_google_chat_card(webhook_url,OBJECTIVE,result_all,"タスク定義","タスク定義")
|
836 |
|
837 |
#yield result_all
|
838 |
|
|
|
813 |
print(" • " + str(t))
|
814 |
#yield str(t)
|
815 |
result_all += str(t)+"\r\n"
|
816 |
+
send_google_chat_card(webhook_url,OBJECTIVE,OBJECTIVE+"\r\n"+result_all,"タスク定義","タスク定義")
|
817 |
|
818 |
# Step 1: Pull the first incomplete task
|
819 |
task = tasks_storage.popleft()
|
|
|
822 |
print(str(task["task_name"]))
|
823 |
#yield str(task["task_name"])
|
824 |
result_all += str(task["task_name"])+"\r\n"
|
825 |
+
send_google_chat_card(webhook_url,OBJECTIVE,OBJECTIVE+"\r\n"+result_all,"タスク定義","タスク定義")
|
826 |
|
827 |
|
828 |
# Send to execution function to complete the task based on the context
|
|
|
832 |
print(result)
|
833 |
#yield result
|
834 |
result_all += result+"\r\n"
|
835 |
+
send_google_chat_card(webhook_url,OBJECTIVE,OBJECTIVE+"\r\n"+result_all,"タスク定義","タスク定義")
|
836 |
|
837 |
#yield result_all
|
838 |
|
chat_history.db
CHANGED
Binary files a/chat_history.db and b/chat_history.db differ
|
|
controllers/gpt_enginner20240624101533
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit f5497ca943e5a8e3aea02ff158275d75f7ae767d
|
controllers/gpt_enginner20240624101712
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit e59fd5dfe1d4fa3e4636b9fea903955ba6c63c6e
|
controllers/gpt_enginner20240624101901
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit e5927270157ac85eee893b9e0aeea56cfd711d5a
|
controllers/gpt_enginner20240624102749
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 1f75de0b3854b10a899d36ab5ad89c30a0825144
|
controllers/gpt_enginner20240624103101
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit a30a2e1a1a2768e4ac8b82080dc8fd939c115291
|
controllers/gpt_enginner20240624103250
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 4ba0e0b8da71573c78d65b56e4abbf5d39e05be9
|
workspace/add_numbers.py
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
def add_numbers(a, b):
|
2 |
+
return a + b
|