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 2024-03-08 22:31:57 -05:00 committed by GitHub
commit 19700e9074
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 19 additions and 7 deletions

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