feat(media-search): supply full history

This commit is contained in:
ItzCrazyKns
2025-11-13 11:53:53 +05:30
parent 3bcf646af1
commit 07a17925b1

View File

@@ -205,11 +205,11 @@ const MessageBox = ({
<div className="lg:sticky lg:top-20 flex flex-col items-center space-y-3 w-full lg:w-3/12 z-30 h-full pb-4">
<SearchImages
query={section.userMessage.content}
chatHistory={chatTurns.slice(0, sectionIndex * 2)}
chatHistory={chatTurns}
messageId={section.assistantMessage.messageId}
/>
<SearchVideos
chatHistory={chatTurns.slice(0, sectionIndex * 2)}
chatHistory={chatTurns}
query={section.userMessage.content}
messageId={section.assistantMessage.messageId}
/>