|
@@ -213,9 +213,9 @@ public class AiSelectionService implements AiService {
|
|
if (sendReqVO.getAppType() == null) {
|
|
if (sendReqVO.getAppType() == null) {
|
|
throw exception(CHAT_MODEL_NOT_EXISTS);
|
|
throw exception(CHAT_MODEL_NOT_EXISTS);
|
|
}
|
|
}
|
|
- if (sendReqVO.getAppType() == 2) {
|
|
|
|
|
|
+ if (sendReqVO.getAppType() == 1) {
|
|
respVO = difyService.sendChatMessageBlock(sendReqVO);
|
|
respVO = difyService.sendChatMessageBlock(sendReqVO);
|
|
- } else if (sendReqVO.getAppType() == 1) {
|
|
|
|
|
|
+ } else if (sendReqVO.getAppType() == 2) {
|
|
respVO = ragflowService.sendChatMessageBlock(sendReqVO);
|
|
respVO = ragflowService.sendChatMessageBlock(sendReqVO);
|
|
}
|
|
}
|
|
return respVO;
|
|
return respVO;
|