From 0236e13187d396e627c1d3475653d08d75a41f4a Mon Sep 17 00:00:00 2001 From: Chenglong Wang Date: Fri, 19 Jul 2024 23:36:57 +0800 Subject: [PATCH] Change gpt summary model to gpt-4o-mini. --- app/constant.ts | 2 +- app/store/chat.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index f5d3c77f463..de1500e840d 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -176,7 +176,7 @@ Latex inline: \\(x^2\\) Latex block: $$e=mc^2$$ `; -export const SUMMARIZE_MODEL = "gpt-3.5-turbo"; +export const SUMMARIZE_MODEL = "gpt-4o-mini"; export const GEMINI_SUMMARIZE_MODEL = "gemini-pro"; export const KnowledgeCutOffDate: Record = { diff --git a/app/store/chat.ts b/app/store/chat.ts index 9372b8b2e8d..5892ef0c8c6 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -90,7 +90,7 @@ function createEmptySession(): ChatSession { } function getSummarizeModel(currentModel: string) { - // if it is using gpt-* models, force to use 3.5 to summarize + // if it is using gpt-* models, force to use 4o-mini to summarize if (currentModel.startsWith("gpt")) { const configStore = useAppConfig.getState(); const accessStore = useAccessStore.getState();