Fixes history rewrite bug

This commit is contained in:
Willie Zutz
2025-04-20 11:57:48 -06:00
parent c0705d1d9e
commit 0bb860b154
2 changed files with 2 additions and 2 deletions

View File

@ -512,7 +512,7 @@ const sendMessage = async (
files: fileIds, files: fileIds,
focusMode: focusMode, focusMode: focusMode,
optimizationMode: optimizationMode, optimizationMode: optimizationMode,
history: chatHistory, history: messageChatHistory,
chatModel: { chatModel: {
name: chatModelProvider.name, name: chatModelProvider.name,
provider: chatModelProvider.provider, provider: chatModelProvider.provider,

View File

@ -6,7 +6,7 @@ import {
PopoverPanel, PopoverPanel,
Transition, Transition,
} from '@headlessui/react'; } from '@headlessui/react';
import { Fragment, useEffect } from 'react'; import { Fragment } from 'react';
const OptimizationModes = [ const OptimizationModes = [
{ {
key: 'speed', key: 'speed',