Skip to content

Commit

Permalink
style: correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mlopezFC authored and javier-godoy committed Nov 14, 2023
1 parent 4821b2f commit c29be3e
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@ public ChatAssistantDemo() {
chatAssistant.sendMessage(Message.builder().content("Hello, I am here to assist you")
.sender(Sender.builder().name("Assistant").id("1").avatar("chatbot.png").build()).build());
chatAssistant.toggle();
chatAssistant.addChatSentListener(
ev -> {
if (ev.isRight()) {
Notification.show(ev.getMessage());
}
});
chatAssistant.addChatSentListener(ev -> {
if (ev.isRight()) {
Notification.show(ev.getMessage());
}
});

add(message, chat, chatAssistant);
}
Expand Down

0 comments on commit c29be3e

Please sign in to comment.