From a91ef5695403066d5a9435ba0cee0f6186836c10 Mon Sep 17 00:00:00 2001 From: Richard Beales Date: Sun, 16 Apr 2023 19:08:10 +0100 Subject: [PATCH] Remove warnings if memory backend is not installed --- autogpt/memory/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autogpt/memory/__init__.py b/autogpt/memory/__init__.py index 817155dc2..e2ee44a42 100644 --- a/autogpt/memory/__init__.py +++ b/autogpt/memory/__init__.py @@ -10,7 +10,7 @@ try: supported_memory.append("redis") except ImportError: - print("Redis not installed. Skipping import.") + # print("Redis not installed. Skipping import.") RedisMemory = None try: @@ -18,19 +18,19 @@ try: supported_memory.append("pinecone") except ImportError: - print("Pinecone not installed. Skipping import.") + # print("Pinecone not installed. Skipping import.") PineconeMemory = None try: from autogpt.memory.weaviate import WeaviateMemory except ImportError: - print("Weaviate not installed. Skipping import.") + # print("Weaviate not installed. Skipping import.") WeaviateMemory = None try: from autogpt.memory.milvus import MilvusMemory except ImportError: - print("pymilvus not installed. Skipping import.") + # print("pymilvus not installed. Skipping import.") MilvusMemory = None