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.
Fixed new backends not being added to supported memory
Eesa Hamza3944f29addc1
diff --git a/README.md b/README.mdindex 21f3ccf26f..bfcd395c76 100644--- a/README.md+++ b/README.md@@ -195,7 +195,7 @@ python -m autogpt --help```bashpython -m autogpt --ai-settings <filename>```-* Specify one of 3 memory backends: `local`, `redis`, `pinecone` or `no_memory`+* Specify a memory backend```bashpython -m autogpt --use-memory <memory-backend>```diff --git a/autogpt/memory/__init__.py b/autogpt/memory/__init__.pyindex e2ee44a426..f5afb8c93d 100644--- a/autogpt/memory/__init__.py+++ b/autogpt/memory/__init__.py@@ -23,12 +23,16 @@ except ImportError:try:from autogpt.memory.weaviate import WeaviateMemory++ supported_memory.append("weaviate")except ImportError:# print("Weaviate not installed. Skipping import.")WeaviateMemory = Nonetry:from autogpt.memory.milvus import MilvusMemory++ supported_memory.append("milvus")except ImportError:# print("pymilvus not installed. Skipping import.")MilvusMemory = None