We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd4be1 commit bd2a271Copy full SHA for bd2a271
src/client/components/ChatV2/Conversation.tsx
@@ -210,7 +210,7 @@ const AssistantMessage = ({
210
)}
211
{fileSearchResult?.status === "completed" &&
212
<OutlineButtonBlack sx={{ mt: 3 }} startIcon={<FormatQuoteIcon />} onClick={() => setActiveFileSearchResult(fileSearchResult)}>
213
- <Typography variant='body2'>{`${t('chat:displaySources')}: `}<em>{fileSearchResult.searchedFiles.join(', ')}</em></Typography>
+ <Typography variant='body2'>{`${t('chat:displaySources')}: `}<em>{fileSearchResult?.searchedFiles?.join(', ')}</em></Typography>
214
</OutlineButtonBlack>
215
}
216
</Box>
0 commit comments