fix markdown
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Struchkov Mark 2023-03-27 20:24:24 +03:00
parent daab0bb6b7
commit 2ed65998b4
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -138,7 +138,7 @@ public class PersonalChatGPTUnit implements PersonUnitConfiguration {
final SentBox sentBox = optSentBox.get();
telegramSending.replaceMessage(sentBox.getPersonId(), sentBox.getMessageId(), boxAnswer(format("\uD83D\uDC47 Answer received. Request cost: {0} tokens", answer.getUsage().getTotalTokens())));
}
return boxAnswer(answer.getMessage());
return BoxAnswer.builder().payload(ENABLE_MARKDOWN).message(answer.getMessage()).build();
})
.priority(5)
.build();