mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-07 06:42:39 +02:00
Gate chat on MULTI_AGENT_CHAT_ENABLED and route to the multi-agent graph when on.
This commit is contained in:
parent
8f8d7540f0
commit
c077939522
3 changed files with 73 additions and 28 deletions
|
|
@ -399,6 +399,9 @@ class Config:
|
|||
|
||||
# Anonymous / no-login mode settings
|
||||
NOLOGIN_MODE_ENABLED = os.getenv("NOLOGIN_MODE_ENABLED", "FALSE").upper() == "TRUE"
|
||||
MULTI_AGENT_CHAT_ENABLED = (
|
||||
os.getenv("MULTI_AGENT_CHAT_ENABLED", "FALSE").upper() == "TRUE"
|
||||
)
|
||||
ANON_TOKEN_LIMIT = int(os.getenv("ANON_TOKEN_LIMIT", "500000"))
|
||||
ANON_TOKEN_WARNING_THRESHOLD = int(
|
||||
os.getenv("ANON_TOKEN_WARNING_THRESHOLD", "400000")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue