From aebe188ba8bbc937a05e3298eecb360034d30e83 Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 19 Oct 2026 10:48:38 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=98=EB=B3=B5=ED=98=B8=EC=B6=9C=20?= =?UTF-8?q?=EC=B0=A8=EB=8B=A8=20=EC=95=88=EB=82=B4=EB=AC=B8:=203=EC=9D=BC?= =?UTF-8?q?=20=EB=84=98=EB=8A=94=20=EA=B5=AD=EB=82=B4=20=EC=98=88=EB=B3=B4?= =?UTF-8?q?=EB=8A=94=20weather=5Fkma=EA=B0=80=20=EC=A4=91=EA=B8=B0?= =?UTF-8?q?=EC=98=88=EB=B3=B4(4~10=EC=9D=BC)=EA=B9=8C=EC=A7=80=20=EC=A3=BC?= =?UTF-8?q?=EB=AF=80=EB=A1=9C=20openmeteo=EB=A1=9C=20=EB=B3=B4=EB=82=B4?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- src/gateway/chat/handle-chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateway/chat/handle-chat.ts b/src/gateway/chat/handle-chat.ts index 7970a5e..08b77f7 100644 --- a/src/gateway/chat/handle-chat.ts +++ b/src/gateway/chat/handle-chat.ts @@ -2711,7 +2711,7 @@ async function handleChat( // which it can ever answer no matter how many times it's retried — costs nothing on the // vast majority of loop-blocks that aren't this, and directly fixes the ones that are. const toolPivotHint = toolName === 'weather_kma' - ? ' weather_kma cannot answer air-quality (미세먼지/PM2.5/PM10/황사) questions — use weather_airkorea instead. For forecasts beyond 3 days, use weather_openmeteo instead.' + ? ' weather_kma cannot answer air-quality (미세먼지/PM2.5/PM10/황사) questions — use weather_airkorea instead. For Korean forecasts beyond 3 days, weather_kma itself already returns days 4-10 (KMA mid-range forecast) in the same result — read that section instead of re-calling; use weather_openmeteo only for locations outside Korea or for UV/long hourly detail.' : ''; const blockMsg = `${loopPivotNudge}${toolPivotHint} Repeated call blocked: ${toolName} with identical arguments has run ${loopCheck.repeats} times (critical threshold ${loopCriticalThreshold}).`; console.warn(`[v2] LOOP BLOCK: ${toolName}(${JSON.stringify(toolArgs).slice(0, 80)}) x${loopCheck.repeats}`);