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.
merged master and resolved conflicts
cs0lar03d2032a6a00
diff --cc autogpt/memory/__init__.pyindex be31735d6d,ab953527cc..817155dc22--- a/autogpt/memory/__init__.py+++ b/autogpt/memory/__init__.py@@@ -54,16 -48,12 +54,18 @@@ def get_memory(cfg, init=False))else:memory = RedisMemory(cfg)+ elif cfg.memory_backend == "weaviate":+ if not WeaviateMemory:+ print("Error: Weaviate is not installed. Please install weaviate-client to"+ " use Weaviate as a memory backend.")+ else:+ memory = WeaviateMemory(cfg)elif cfg.memory_backend == "milvus":if not MilvusMemory:- print("Error: Milvus sdk is not installed."- "Please install pymilvus to use Milvus as memory backend.")+ print(+ "Error: Milvus sdk is not installed."+ "Please install pymilvus to use Milvus as memory backend."+ )else:memory = MilvusMemory(cfg)elif cfg.memory_backend == "no_memory":@@@ -80,4 -70,11 +82,12 @@@ def get_supported_memory_backends()return supported_memory- __all__ = ["get_memory", "LocalCache", "RedisMemory", "PineconeMemory", "WeaviateMemory", "MilvusMemory", "NoMemory"]+ __all__ = [+ "get_memory",+ "LocalCache",+ "RedisMemory",+ "PineconeMemory",+ "NoMemory",+ "MilvusMemory",++ "WeaviateMemory"+ ]