mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 04:40:45 +08:00
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:
parent
b6986c4b8c
commit
9da63de21b
4 changed files with 9 additions and 73 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue