feat(video-search): handle custom OpenAI

This commit is contained in:
ItzCrazyKns 2024-10-30 10:28:31 +05:30 committed by Damien Laureaux
parent 7b16fb9160
commit 2685455c3e
No known key found for this signature in database
GPG key ID: 3802EADA1C1C604D
5 changed files with 94 additions and 25 deletions

View file

@ -186,10 +186,10 @@ 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={history[messageIndex - 1].content}
chat_history={history.slice(0, messageIndex - 1)}
chatHistory={history.slice(0, messageIndex - 1)}
/>
<SearchVideos
chat_history={history.slice(0, messageIndex - 1)}
chatHistory={history.slice(0, messageIndex - 1)}
query={history[messageIndex - 1].content}
/>
</div>