From 9235864f56de49fa5d3866afb58bd23da9c83fa6 Mon Sep 17 00:00:00 2001 From: Roberto Gudelj Date: Sat, 9 Mar 2024 04:11:39 +0100 Subject: [PATCH] fix: parsing of OPENAI_API_BASE_URLS env var --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index 2cd01653..05ed686b 100644 --- a/backend/config.py +++ b/backend/config.py @@ -251,7 +251,7 @@ OPENAI_API_BASE_URLS = ( OPENAI_API_BASE_URLS if OPENAI_API_BASE_URLS != "" else OPENAI_API_BASE_URL ) -OPENAI_API_BASE_URLS = [url.strip() for url in OPENAI_API_BASE_URL.split(";")] +OPENAI_API_BASE_URLS = [url.strip() for url in OPENAI_API_BASE_URLS.split(";")] ####################################