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"]