Fixes history rewrite bug
This commit is contained in:
parent
c0705d1d9e
commit
0bb860b154
2 changed files with 2 additions and 2 deletions
|
|
@ -512,7 +512,7 @@ const sendMessage = async (
|
|||
files: fileIds,
|
||||
focusMode: focusMode,
|
||||
optimizationMode: optimizationMode,
|
||||
history: chatHistory,
|
||||
history: messageChatHistory,
|
||||
chatModel: {
|
||||
name: chatModelProvider.name,
|
||||
provider: chatModelProvider.provider,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {
|
|||
PopoverPanel,
|
||||
Transition,
|
||||
} from '@headlessui/react';
|
||||
import { Fragment, useEffect } from 'react';
|
||||
import { Fragment } from 'react';
|
||||
const OptimizationModes = [
|
||||
{
|
||||
key: 'speed',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue