|
@@ -331,7 +331,9 @@ public class AiChatMessageServiceImpl implements AiChatMessageService {
|
|
AiChatConversationUpdateMyReqVO updateReqVO = new AiChatConversationUpdateMyReqVO();
|
|
AiChatConversationUpdateMyReqVO updateReqVO = new AiChatConversationUpdateMyReqVO();
|
|
updateReqVO.setId(conversation.getId());
|
|
updateReqVO.setId(conversation.getId());
|
|
updateReqVO.setDifyConversationId(difyId.toString());
|
|
updateReqVO.setDifyConversationId(difyId.toString());
|
|
- updateReqVO.setTitle(StrUtil.subPre(sendReqVO.getContent(), 20));
|
|
|
|
|
|
+ if (!StrUtil.contains(assistantMessage.getContent(), "ecologicalValueCalculate")) {
|
|
|
|
+ updateReqVO.setTitle(StrUtil.subPre(sendReqVO.getContent(), 20));
|
|
|
|
+ }
|
|
TenantUtils.executeIgnore(() ->
|
|
TenantUtils.executeIgnore(() ->
|
|
chatConversationService.updateConversation(updateReqVO));
|
|
chatConversationService.updateConversation(updateReqVO));
|
|
|
|
|