Merge pull request #1109 from ther0bster/fix-openai-env-var-parsing

fix: parsing of OPENAI_API_BASE_URLS env var
This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2024-03-08 22:31:57 -05:00
commit 19700e9074
7 files changed
+19 -7

No files matched your search

+1 -1
View File
@@ -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(";")]
####################################