fix: remove generateHistory call from useMessage hook
This commit is contained in:
parent
c8c71f69cc
commit
77f0cdbb35
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user