fix: parsing of OPENAI_API_BASE_URLS env var

This commit is contained in:
Roberto Gudelj 2024-03-09 04:11:39 +01:00
parent 04ddbf4306
commit 9235864f56

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(";")]
####################################