Remove Plan/Agent v2 selector from chat settings.

v2 is gone; hide the dead version menu and force classic v1 on wire paths.
This commit is contained in:
oliver 2026-08-11 02:39:20 +08:00
parent b6986c4b8c
commit 9da63de21b
4 changed files with 9 additions and 73 deletions

View file

@ -178,7 +178,7 @@ async def run_agent_turn_via_bridge(
if execution_mode not in {"agent", "plan"}:
execution_mode = "agent"
plan_agent_version = str(p.get("plan_agent_version") or "v1").strip().lower() or "v1"
if plan_agent_version not in {"v1", "v2"}:
if plan_agent_version != "v1":
plan_agent_version = "v1"
store = get_assistant_store()
gw = OclawGateway(store=store)