From 6bfb169e8459443819a93fc77836c9e6ea32bc0b Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 26 Mar 2023 22:21:36 +0300 Subject: [PATCH] fix access error --- .../java/dev/struchkov/example/bot/unit/PersonalChatGPTUnit.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/dev/struchkov/example/bot/unit/PersonalChatGPTUnit.java b/src/main/java/dev/struchkov/example/bot/unit/PersonalChatGPTUnit.java index c8548a7..cec75a7 100644 --- a/src/main/java/dev/struchkov/example/bot/unit/PersonalChatGPTUnit.java +++ b/src/main/java/dev/struchkov/example/bot/unit/PersonalChatGPTUnit.java @@ -98,6 +98,7 @@ public class PersonalChatGPTUnit implements PersonUnitConfiguration { return BoxAnswer.builder() .recipientPersonId(appProperty.getTelegramIds().get(0)) .message(messageText.toString()) + .payload(ENABLE_MARKDOWN) .build(); }) .build();