Merge branch 'master' of github.com:Torantulino/Auto-GPT into redis-backend

This commit is contained in:
BillSchumacher
2023-04-07 20:39:35 -05:00
2 changed files with 3 additions and 1 deletions

View File

@@ -281,10 +281,11 @@ next_action_count = 0
# Make a constant:
user_input = "Determine which next command to use, and respond using the format specified above:"
# raise an exception if pinecone_api_key or region is not provided
if not cfg.pinecone_api_key or not cfg.pinecone_region: raise Exception("Please provide pinecone_api_key and pinecone_region")
# Initialize memory and make sure it is empty.
# this is particularly important for indexing and referencing pinecone memory
memory = get_memory(cfg, init=True)
print('Using memory of type: ' + memory.__class__.__name__)
# Interaction Loop