From 90a80490bda4da71434326d1660918cb2790be56 Mon Sep 17 00:00:00 2001 From: Ashutosh Kataria Date: Wed, 19 Apr 2023 01:57:08 +0530 Subject: [PATCH 1/2] Update pinecone.py --- autogpt/memory/pinecone.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autogpt/memory/pinecone.py b/autogpt/memory/pinecone.py index 27fcd62482d0..363119005ad2 100644 --- a/autogpt/memory/pinecone.py +++ b/autogpt/memory/pinecone.py @@ -38,6 +38,7 @@ def __init__(self, cfg): exit(1) if table_name not in pinecone.list_indexes(): + logger.typewriter_log("Connecting Pinecone. This may take some time...", Fore.MAGENTA, "") pinecone.create_index( table_name, dimension=dimension, metric=metric, pod_type=pod_type ) From 237599c7e51543a8a51d73841ca2d4806eeaf442 Mon Sep 17 00:00:00 2001 From: Richard Beales Date: Mon, 1 May 2023 15:27:02 +0100 Subject: [PATCH 2/2] black --- autogpt/memory/pinecone.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autogpt/memory/pinecone.py b/autogpt/memory/pinecone.py index eab3214cefcf..7c0279564681 100644 --- a/autogpt/memory/pinecone.py +++ b/autogpt/memory/pinecone.py @@ -38,7 +38,9 @@ def __init__(self, cfg): exit(1) if table_name not in pinecone.list_indexes(): - logger.typewriter_log("Connecting Pinecone. This may take some time...", Fore.MAGENTA, "") + logger.typewriter_log( + "Connecting Pinecone. This may take some time...", Fore.MAGENTA, "" + ) pinecone.create_index( table_name, dimension=dimension, metric=metric, pod_type=pod_type )