diff --git a/backend/config.py b/backend/config.py index ac121ede..273a4dfb 100644 --- a/backend/config.py +++ b/backend/config.py @@ -89,7 +89,7 @@ DEFAULT_PROMPT_SUGGESTIONS = os.environ.get( # WEBUI_VERSION #################################### -WEBUI_VERSION = os.environ.get("WEBUI_VERSION", "v1.0.0-alpha.61") +WEBUI_VERSION = os.environ.get("WEBUI_VERSION", "v1.0.0-alpha.92") #################################### # WEBUI_AUTH (Required for security) @@ -103,7 +103,9 @@ WEBUI_AUTH = True WEBUI_SECRET_KEY = os.environ.get( "WEBUI_SECRET_KEY", - os.environ.get("WEBUI_JWT_SECRET_KEY", "t0p-s3cr3t") # DEPRECATED: remove at next major version + os.environ.get( + "WEBUI_JWT_SECRET_KEY", "t0p-s3cr3t" + ), # DEPRECATED: remove at next major version ) if WEBUI_AUTH and WEBUI_SECRET_KEY == "": @@ -116,7 +118,8 @@ if WEBUI_AUTH and WEBUI_SECRET_KEY == "": CHROMA_DATA_PATH = f"{DATA_DIR}/vector_db" EMBED_MODEL = "all-MiniLM-L6-v2" CHROMA_CLIENT = chromadb.PersistentClient( - path=CHROMA_DATA_PATH, settings=Settings(allow_reset=True, anonymized_telemetry=False) + path=CHROMA_DATA_PATH, + settings=Settings(allow_reset=True, anonymized_telemetry=False), ) CHUNK_SIZE = 1500 CHUNK_OVERLAP = 100