diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index c3db35d9..87a5ebb7 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -95,13 +95,12 @@ export default function Conversation() { > ); } else if (query.response) { - const trimmedResponse = query.response.trim(); responseView = ( 0 ? trimmedResponse : 'No answer found.'} + message={query.response} type={'ANSWER'} sources={query.sources} feedback={query.feedback} diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index aba7c63b..c3b81f92 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -74,7 +74,7 @@ const ConversationBubble = forwardRef<