Parcourir la source

fix: parsing of OPENAI_API_BASE_URLS env var

Roberto Gudelj il y a 1 an
Parent
commit
9235864f56
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      backend/config.py

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