This commit is contained in:
João Moura
2024-04-04 13:26:33 -03:00
parent 6317380c8d
commit 5bc63a321c

View File

@@ -41,7 +41,7 @@ class RAGStorage(Storage):
super().__init__()
if (
not os.getenv("OPENAI_API_KEY")
and not os.getenv("OPENAI_BASE_URLl") == "https://api.openai.com/v1"
and not os.getenv("OPENAI_BASE_URL") == "https://api.openai.com/v1"
):
os.environ["OPENAI_API_KEY"] = "fake"
config = {