From 34295d2f1465255a4db89f0fbd7592752910bcf6 Mon Sep 17 00:00:00 2001 From: marauder-actual Date: Fri, 29 May 2026 18:42:44 +0200 Subject: [PATCH] use dedicated chat agent for opencode sessions --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 90fd052..50a0193 100644 --- a/app/main.py +++ b/app/main.py @@ -268,7 +268,7 @@ async def _ensure_opencode_session(email: str) -> str: f"{OPENCODE_URL}/session", auth=_opencode_auth(), headers={"x-opencode-directory": "/home/madcat"}, - json={"title": f"chat-saiden:{email}"}, + json={"title": f"chat-saiden:{email}", "agent": "chat"}, ) resp.raise_for_status() sid = resp.json()["id"]