From 7b1103903ff97b92d53e457168d4742d7ea74689 Mon Sep 17 00:00:00 2001 From: Developer Date: Thu, 21 May 2026 13:00:03 +0800 Subject: [PATCH] fix: remove prefix from followup hint, use raw text --- server/src/assessment/graph/nodes/grader.node.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/src/assessment/graph/nodes/grader.node.ts b/server/src/assessment/graph/nodes/grader.node.ts index 696d508..6cc92c1 100644 --- a/server/src/assessment/graph/nodes/grader.node.ts +++ b/server/src/assessment/graph/nodes/grader.node.ts @@ -256,12 +256,7 @@ Format your response as JSON: if (shouldFollowUp && followupHints.length > 0) { let hint = followupHints[Math.min(currentFollowUpCount, followupHints.length - 1)]; hint = hint.replace(/^如果.+?追问[::]\s*/i, '').replace(/^[""「『]|[""」』]$/g, ''); - const hintLabel = isZh - ? `让我帮你完善一下:${hint}` - : isJa - ? `もう少し詳しく伺います:${hint}` - : `Let me help you elaborate: ${hint}`; - followupHintMsg = new AIMessage(hintLabel); + followupHintMsg = new AIMessage(hint); } const feedbackMessage = new AIMessage(