diff --git a/memento-note/components/ai-chat.tsx b/memento-note/components/ai-chat.tsx index 2a0d018..feacc52 100644 --- a/memento-note/components/ai-chat.tsx +++ b/memento-note/components/ai-chat.tsx @@ -60,13 +60,14 @@ export function AIChat() { setInput('') await sendMessage( { text }, - { + { body: { tone: selectedTone, chatScope, notebookId: chatScope !== 'all' ? chatScope : undefined, webSearch: webSearch && webSearchAvailable, - conversationId + conversationId, + language, } } )