diff --git a/frontend/components/navigation.tsx b/frontend/components/navigation.tsx index 8fe635ab..e8593ea6 100644 --- a/frontend/components/navigation.tsx +++ b/frontend/components/navigation.tsx @@ -337,7 +337,8 @@ export function Navigation({ message.role === "user" && (message.content.match(FILES_REGEX)?.[0] ?? null) !== null, ) - .map((message) => message.content.match(FILES_REGEX)?.[0] ?? null); + .map((message) => message.content.match(FILES_REGEX)?.[0] ?? null) + .concat(conversationDocs.map((doc) => doc.filename)); return (