mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-15 17:25:26 -04:00
fix: ui_control rejects the advertised rag toggle (#1763)
This commit is contained in:
@@ -1288,7 +1288,7 @@ async def do_ui_control(content: str, session_id: Optional[str] = None) -> Dict:
|
||||
"private": "incognito",
|
||||
}
|
||||
toggle_name = _toggle_aliases.get(toggle_name, toggle_name)
|
||||
valid_toggles = {"web", "bash", "research", "incognito", "document_editor"}
|
||||
valid_toggles = {"web", "bash", "rag", "research", "incognito", "document_editor"}
|
||||
if toggle_name not in valid_toggles:
|
||||
return {"error": f"Unknown toggle '{toggle_name}'. Valid: {', '.join(sorted(valid_toggles))}"}
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user