mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
chore: version update
This commit is contained in:
parent
323ec3787e
commit
f73a1fc4ea
@ -89,7 +89,7 @@ DEFAULT_PROMPT_SUGGESTIONS = os.environ.get(
|
|||||||
# WEBUI_VERSION
|
# 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)
|
# 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_SECRET_KEY",
|
"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 == "":
|
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"
|
CHROMA_DATA_PATH = f"{DATA_DIR}/vector_db"
|
||||||
EMBED_MODEL = "all-MiniLM-L6-v2"
|
EMBED_MODEL = "all-MiniLM-L6-v2"
|
||||||
CHROMA_CLIENT = chromadb.PersistentClient(
|
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_SIZE = 1500
|
||||||
CHUNK_OVERLAP = 100
|
CHUNK_OVERLAP = 100
|
||||||
|
Loading…
Reference in New Issue
Block a user