|
|
@@ -37,8 +37,8 @@ public class ChatAiServiceImpl implements ChatAiService {
|
|
|
SseMap.sseEmitterMap.put(in.getUserId(), new SseResult(in.getUserId(), System.currentTimeMillis(), sseEmitter));
|
|
|
try {
|
|
|
// 先将数据返回,异步调用返回数据
|
|
|
-// baiduChatUtils.sendBaiduAiStream(in);
|
|
|
- baiduChatUtils.sendERNIEBOT4Stream(in);
|
|
|
+ baiduChatUtils.sendBaiduAiStream(in);
|
|
|
+// baiduChatUtils.sendERNIEBOT4Stream(in);
|
|
|
} catch (IOException e) {
|
|
|
e.printStackTrace();
|
|
|
throw new BusinessException("文言一心调用失败"+e.getLocalizedMessage());
|