Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

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

BillSchumacherd7ccaf45a926
diff --cc scripts/main.py
index 11bf0dc1b2,17385bf339..e16fb9d14d
--- a/scripts/main.py
+++ b/scripts/main.py
@@@ -281,10 -281,12 +281,11 @@@ next_action_count =
# 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 = PineconeMemory()
-memory.clear()
+memory = get_memory(cfg, init=True)
-
print('Using memory of type: ' + memory.__class__.__name__)
# Interaction Loop