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