mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-19 06:54:22 +01:00
Hotfix - re-add missing cfg variable to memory/base
This commit is contained in:
@@ -3,6 +3,7 @@ import abc
|
|||||||
from config import AbstractSingleton, Config
|
from config import AbstractSingleton, Config
|
||||||
import openai
|
import openai
|
||||||
|
|
||||||
|
cfg = Config()
|
||||||
|
|
||||||
def get_ada_embedding(text):
|
def get_ada_embedding(text):
|
||||||
text = text.replace("\n", " ")
|
text = text.replace("\n", " ")
|
||||||
|
|||||||
Reference in New Issue
Block a user