refactor(agent-office/base): transition의 State 자동 로그 제거

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 02:47:41 +09:00
parent 5613497367
commit 4224333219

View File

@@ -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":