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.

Hotfix - re-add missing cfg variable to memory/base

Richard Beales53c00b4199d0
diff --git a/scripts/memory/base.py b/scripts/memory/base.py
index 1d908531c8..1bb4e89f5b 100644
--- a/scripts/memory/base.py
+++ b/scripts/memory/base.py
@@ -3,6 +3,7 @@ import abc
from config import AbstractSingleton, Config
import openai
+cfg = Config()
def get_ada_embedding(text):
text = text.replace("\n", " ")