默认答案处理
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user