From 04027758ecadcabdc8e26713eeadc2ec92fa1d33 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Tue, 7 Apr 2026 08:26:39 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20route=20=EC=8B=9C=20=EC=9B=90=EB=B3=B8?= =?UTF-8?q?=20=EB=A9=94=EC=8B=9C=EC=A7=80=EB=A5=BC=20Gemma=EC=97=90=20?= =?UTF-8?q?=EC=A0=84=EB=8B=AC=20=E2=80=94=20EXAONE=EC=9D=B4=20=EB=8B=B5?= =?UTF-8?q?=EB=B3=80=EA=B9=8C=EC=A7=80=20=EB=AF=B8=EB=A6=AC=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1=ED=95=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EXAONE classifier가 route prompt 필드에 답변을 미리 작성해서 Gemma가 그것을 사용자 입력으로 받아 메타 응답을 하는 문제. 원본 job.message를 그대로 Gemma에 전달하도록 변경. 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 2e50cc1..d694e5c 100644 --- a/nanoclaude/services/worker.py +++ b/nanoclaude/services/worker.py @@ -366,7 +366,8 @@ async def run(job: Job) -> None: elif action == "route" and settings.pipeline_enabled and backend_registry.is_healthy("reasoner"): # === ROUTE: Gemma reasoning === reasoning_model = backend_registry.reasoner.model - rewritten_message = (route_prompt or job.message)[:MAX_PROMPT_LENGTH] + # 원본 사용자 메시지를 그대로 전달 (route_prompt는 신뢰 안 함 — EXAONE이 답변까지 미리 작성하는 문제) + rewritten_message = job.message[:MAX_PROMPT_LENGTH] job.rewritten_message = rewritten_message # Gemma busy 안내 (Hybrid 부하 판단 — inference 강제 측정 안 함)