diff --git a/web-ui/js/app/chat-sse.js b/web-ui/js/app/chat-sse.js index 879eec5..7f9dd41 100644 --- a/web-ui/js/app/chat-sse.js +++ b/web-ui/js/app/chat-sse.js @@ -1,5 +1,5 @@ // 음성 통화 턴에 붙이는 안내(시스템 프롬프트 쪽 skillContext로 전달). 인식 오류를 문맥으로 해석하고, 모호하면 되묻게 한다. -var VOICE_INPUT_HINT = 'VOICE INPUT: the user message below came from speech recognition (Korean Whisper) and may contain sound-alike or spacing errors, especially proper nouns (클로서버, 지서버, 옥토서버, 홈클로, 시어엔진, 라즈베리 파이, 기상청). Interpret by context. If a critical word (device/server name, number, or the target of an action with side effects) is ambiguous, ask a one-line confirmation instead of guessing. Keep the reply short and speakable — it will be read aloud: no tables, no emoji, no URLs unless asked. Answer in 1-3 sentences, conclusion first. Never explain or apologize for your own earlier mistakes or corrections, and do not narrate how you searched or verified — just state the corrected answer. Offer details only if asked.'; +var VOICE_INPUT_HINT = 'VOICE INPUT: the user message below came from speech recognition (Korean Whisper) and may contain sound-alike or spacing errors, especially proper nouns (클로서버, 지서버, 옥토서버, 홈클로, 시어엔진, 라즈베리 파이, 기상청). Interpret by context. If a word or the whole request is unclear or looks misrecognized, do NOT explain, apologize, or list possibilities: guess the single most likely intended word from context and ask ONE very short confirmation question of at most ~10 words, like "유가 말씀이신가요?" or "구미 날씨요?". Do not call tools until confirmed unless you are quite sure. If a critical word (device/server name, number, or the target of an action with side effects) is ambiguous, ask that short confirmation instead of guessing. Keep the reply short and speakable — it will be read aloud: no tables, no emoji, no URLs unless asked. Answer in 1-3 sentences, conclusion first. Never explain or apologize for your own earlier mistakes or corrections, and do not narrate how you searched or verified — just state the corrected answer. Offer details only if asked.'; // chat-sse.js — sendChat (SSE chat dispatch), extracted from app.js. // Loaded BEFORE app.js so the bare sendChat() references in app.js (chat-input Enter,