Sources by filename if available

This commit is contained in:
Alex
2023-06-12 14:56:42 +01:00
parent af6f783043
commit bff200fede
3 changed files with 39 additions and 6 deletions

View File

@@ -154,7 +154,9 @@ const ConversationBubble = forwardRef<
{sources && openSource !== null && sources[openSource] && (
<div className="ml-8 mt-2 w-3/4 rounded-xl bg-blue-200 p-2">
<p className="w-3/4 truncate text-xs text-gray-500">Source:</p>
<p className="w-3/4 truncate text-xs text-gray-500">
Source: {sources[openSource].title}
</p>
<div className="rounded-xl border-2 border-gray-200 bg-white p-2">
<p className="text-xs text-gray-500 ">