diff --git a/frontend/public/toolIcons/tool_duckduckgo.svg b/frontend/public/toolIcons/tool_duckduckgo.svg new file mode 100644 index 00000000..8215a918 --- /dev/null +++ b/frontend/public/toolIcons/tool_duckduckgo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index 864e0a0e..21bfa442 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -288,135 +288,101 @@ const ConversationBubble = forwardRef< {DisableSourceFE || type === 'ERROR' || sources?.length === 0 || - sources?.some((source) => source.link === 'None') ? null : !sources && - chunks !== '0' ? ( -
- {t('conversation.sources.title')} -
-+ {t('conversation.sources.title')} +
- {t('conversation.sources.title')} -
-- {source.text} -
+- {source.link && source.link !== 'local' - ? source.link - : source.title} -
-+
{source.text}
++ {source.link && source.link !== 'local' + ? source.link + : source.title} +
+- {t('conversation.sources.view_more', { - count: sources?.length ? sources.length - 3 : 0, - })} -
-+ {source.text} +
++ {t('conversation.sources.view_more', { + count: sources?.length ? sources.length - 3 : 0, + })} +
+