From f73a1fc4ea502b4e35f08b5032c1354f3b4eb179 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 3 Feb 2024 17:42:08 -0800 Subject: [PATCH] chore: version update --- backend/config.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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