fix(spawner): address PR#36 review feedback (M1+M2+S1+S2)
This commit is contained in:
@@ -244,7 +244,7 @@ def _revive_session(agent_id: str) -> bool:
|
||||
|
||||
```python
|
||||
# §24 v3: compact 检测优先用 gateway 日志 rotation 事件
|
||||
if result["status"] not in ("done", "idle", "unknown", None):
|
||||
if result["status"] not in ("idle", "unknown", None):
|
||||
session_key = f"agent:{agent_id}:main"
|
||||
result["recent_compact"] = AgentSpawner._check_compact_in_progress_gateway(
|
||||
session_key)
|
||||
|
||||
Reference in New Issue
Block a user