From 4224333219b0c85a6facb6db92e1d71bb2666fa8 Mon Sep 17 00:00:00 2001 From: gahusb Date: Thu, 28 May 2026 02:47:41 +0900 Subject: [PATCH] =?UTF-8?q?refactor(agent-office/base):=20transition?= =?UTF-8?q?=EC=9D=98=20State=20=EC=9E=90=EB=8F=99=20=EB=A1=9C=EA=B7=B8=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- agent-office/app/agents/base.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/agent-office/app/agents/base.py b/agent-office/app/agents/base.py index a18558e..ad48a49 100644 --- a/agent-office/app/agents/base.py +++ b/agent-office/app/agents/base.py @@ -1,8 +1,6 @@ import time from typing import Optional -from ..db import add_log - VALID_STATES = ("idle", "working", "waiting", "reporting") class BaseAgent: @@ -29,8 +27,6 @@ class BaseAgent: if new_state == "idle": self._idle_since = time.time() - add_log(self.agent_id, f"State: {old} -> {new_state} ({detail})") - if self._ws_manager: await self._ws_manager.send_agent_state(self.agent_id, new_state, detail, task_id) if new_state == "working" and old != "working":