Explorar o código

fix: parsing of OPENAI_API_BASE_URLS env var

Roberto Gudelj hai 1 ano
pai
achega
9235864f56
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(";")]
 
 
 ####################################