Skip to content

Commit

Permalink
Formatting with spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
MalikMAlna committed Apr 7, 2023
1 parent 28af2ef commit ee4b5ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions babyagi.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def context_agent(query: str, n: int):
while True:
if task_list:
# Print the task list
print("\033[95m\033[1m"+"\n*****TASK LIST*****\n"+"\033[0m\033[0m")
print("\033[95m\033[1m" + "\n*****TASK LIST*****\n" + "\033[0m\033[0m")
for t in task_list:
print(str(t['task_id']) + ": " + t['task_name'])

Expand All @@ -176,7 +176,7 @@ def context_agent(query: str, n: int):
# Send to execution function to complete the task based on the context
result = execution_agent(OBJECTIVE, task["task_name"])
this_task_id = int(task["task_id"])
print("\033[93m\033[1m"+"\n*****TASK RESULT*****\n"+"\033[0m\033[0m")
print("\033[93m\033[1m" + "\n*****TASK RESULT*****\n" + "\033[0m\033[0m")
print(result)

# Step 2: Enrich result and store in Pinecone
Expand Down

0 comments on commit ee4b5ec

Please sign in to comment.