默认答案处理

This commit is contained in:
2025-10-27 23:28:31 +08:00
parent 556d33247c
commit 68a3644b5f

View File

@@ -146,7 +146,7 @@ public class ChatWebSocketHandler {
String cacheResultText = cacheClientTts.get(clientId); String cacheResultText = cacheClientTts.get(clientId);
log.info("面试者回答信息为:{}", cacheResultText); log.info("面试者回答信息为:{}", cacheResultText);
if (StrUtil.isEmpty(cacheResultText)) { if (StrUtil.isEmpty(cacheResultText)) {
cacheResultText = "I am answering"; cacheResultText = "I first check the forklift's logbook for recent issues, inspect tires and brakes, verify the load capacity matches today's task, and confirm my licence is current—all per SWMS requirements.";
} }
String promptJson = ""; String promptJson = "";
if("YES".equals(startFlag)) { if("YES".equals(startFlag)) {