fix: remove generateHistory call from useMessage hook

This commit is contained in:
n4ze3m 2024-12-01 15:32:51 +05:30
parent c8c71f69cc
commit 77f0cdbb35

View File

@ -533,7 +533,7 @@ export const useMessage = () => {
const prompt = await systemPromptForNonRag() const prompt = await systemPromptForNonRag()
const selectedPrompt = await getPromptById(selectedSystemPrompt) const selectedPrompt = await getPromptById(selectedSystemPrompt)
const applicationChatHistory = generateHistory(history, selectedModel) const applicationChatHistory = []
const data = await getScreenshotFromCurrentTab() const data = await getScreenshotFromCurrentTab()
console.log( console.log(