Fix dashboard separation mode switch

This commit is contained in:
Mikei386
2026-09-08 23:08:58 +02:00
parent 0069b61dbb
commit 30203bf13b
2 changed files with 66 additions and 1 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ def router_status() -> tuple[dict[str, Any], str | None]:
def change_mode(mode: str) -> tuple[int, dict[str, Any]]:
if mode not in {"llm", "music"}:
if mode not in {"llm", "music", "separation"}:
return 400, {"error": "invalid mode"}
headers = {"Accept": "application/json", "Content-Type": "application/json"}
if ROUTER_API_KEY: