From fcd29a82c314d264a0d3d24575ec110348d580cc Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Mon, 6 Apr 2026 15:19:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=8B=9C=EC=8A=A4=ED=85=9C=20=EC=83=81?= =?UTF-8?q?=ED=83=9C=20=ED=82=A4=EC=9B=8C=EB=93=9C=20=ED=99=95=EC=9E=A5=20?= =?UTF-8?q?=E2=80=94=20=EB=8C=80=EA=B8=B0/=ED=81=90/=EB=B0=94=EB=B9=A0/?= =?UTF-8?q?=EB=8A=90=EB=A0=A4=20=EB=93=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "젬마4 대기건이 많지 않아?" 같은 후속 질문도 상태 조회로 라우팅 Co-Authored-By: Claude Opus 4.6 (1M context) --- nanoclaude/services/worker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nanoclaude/services/worker.py b/nanoclaude/services/worker.py index 0f62492..419cf35 100644 --- a/nanoclaude/services/worker.py +++ b/nanoclaude/services/worker.py @@ -150,7 +150,8 @@ def _pre_route(message: str) -> dict | None: return {"action": "tools", "tool": "document", "operation": "search", "params": {"query": query}} # 시스템 상태 질문 - if any(k in msg for k in ["추론 모델", "gemma", "젬마", "상태", "서버 상태", "시스템"]) and any(k in msg for k in ["돌아", "일하", "작동", "상태", "건강", "살아"]): + if any(k in msg for k in ["추론 모델", "gemma", "젬마", "서버 상태", "시스템 상태"]) or \ + (any(k in msg for k in ["상태", "젬마", "gemma"]) and any(k in msg for k in ["돌아", "일하", "작동", "상태", "건강", "살아", "대기", "큐", "밀려", "바빠", "느려", "많"])): health = backend_registry.health_summary() from services import job_queue as jq_module queue = jq_module.job_queue.stats if jq_module.job_queue else {"pending": 0, "active": 0}