From 6c6245618fb74f6370fff33c46a06fd81c676a99 Mon Sep 17 00:00:00 2001 From: kim Date: Sat, 17 Oct 2026 23:47:41 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=AB=EC=9E=90=20=EA=B7=BC=EA=B1=B0=20?= =?UTF-8?q?=EA=B0=80=EB=93=9C=20=EC=9E=AC=ED=94=84=EB=A1=AC=ED=94=84?= =?UTF-8?q?=ED=8A=B8:=20=EC=82=AC=EC=9A=A9=EC=9E=90=EB=8A=94=20=EC=B4=88?= =?UTF-8?q?=EC=95=88=EC=9D=84=20=EB=B3=B8=20=EC=A0=81=20=EC=97=86=EC=9C=BC?= =?UTF-8?q?=EB=8B=88=20=EC=A0=95=EC=A0=95=C2=B7=EC=B4=88=EC=95=88=C2=B7?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=ED=95=9C=20=EC=88=98=EC=B9=98=EB=A5=BC=20?= =?UTF-8?q?=EB=8B=B5=EC=97=90=20=EC=96=B8=EA=B8=89=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EB=A7=90=EB=8F=84=EB=A1=9D=20=EC=A7=80=EC=8B=9C=20(=EB=A7=9B?= =?UTF-8?q?=EC=A7=91=20=EB=8B=B5=EC=9D=B4=20'=EC=A0=9C=20=EC=A7=81?= =?UTF-8?q?=EC=A0=84=20=EB=8B=B5=EB=B3=80=EC=97=90=EB=8A=94=20=EC=88=98?= =?UTF-8?q?=EC=B9=98=EA=B0=80=E2=80=A6'=EB=A1=9C=20=EC=8B=9C=EC=9E=91?= =?UTF-8?q?=ED=95=98=EB=8D=98=20=EB=AC=B8=EC=A0=9C)?= 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 be99583..8e1b8c4 100644 --- a/src/gateway/chat/handle-chat.ts +++ b/src/gateway/chat/handle-chat.ts @@ -2119,7 +2119,7 @@ async function handleChat( messages.push({ role: 'assistant', content: candidateText }); messages.push({ role: 'user', - content: `None of the figures you just gave (${_badFigures.join(', ')}) appear anywhere in the tool results from this turn — you produced them from memory, not from what you found. Rewrite the answer using ONLY numbers the tools actually returned. If the specific figure the user asked for is not in those results, say plainly that you could not find it, name what the results DID contain (which sources, what they were about), and give what IS known qualitatively — WITHOUT substituting an estimate. A stated range like "약 2~5" reads as a measurement to the user; do not offer one you cannot source. Do NOT open with an apology or "죄송합니다" — just give the corrected answer directly.`, + content: `None of the figures you just gave (${_badFigures.join(', ')}) appear anywhere in the tool results from this turn — you produced them from memory, not from what you found. Rewrite the answer using ONLY numbers the tools actually returned. If the specific figure the user asked for is not in those results, say plainly that you could not find it, name what the results DID contain (which sources, what they were about), and give what IS known qualitatively — WITHOUT substituting an estimate. A stated range like "약 2~5" reads as a measurement to the user; do not offer one you cannot source. Do NOT open with an apology or "죄송합니다" — just give the corrected answer directly. The user never saw your previous draft: do not mention this correction, the draft, or the figures you removed — write the answer as if it were your first.`, }); lastRoundWasGuardReprompt = true; continue;