refactor(config): remove dead MULTI_AGENT_CHAT_ENABLED flag (bucket B5)

Multi-agent is now the only chat path (B1-B4), so the flag is dead config.
Drop it from app/config and .env.example. Suite green (2710 passed).
This commit is contained in:
CREDO23 2026-06-04 13:44:02 +02:00
parent 14bbea0854
commit 305a8fe7e6
2 changed files with 0 additions and 6 deletions

View file

@ -323,9 +323,6 @@ LANGSMITH_PROJECT=surfsense
# =============================================================================
# OPTIONAL: New-chat agent feature flags
# =============================================================================
# Multi-agent orchestrator switch for authenticated chat streaming.
# MULTI_AGENT_CHAT_ENABLED=false
# Master kill-switch — when true, every flag below is forced OFF.
# SURFSENSE_DISABLE_NEW_AGENT_STACK=false

View file

@ -645,9 +645,6 @@ 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")