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,
focusMode: focusMode,
optimizationMode: optimizationMode,
history: chatHistory,
history: messageChatHistory,
chatModel: {
name: chatModelProvider.name,
provider: chatModelProvider.provider,

View File

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