瀏覽代碼

Merge pull request #5063 from ChenglongWang/summary_model

Change gpt summary model to gpt-4o-mini
Dogtiti 1 年之前
父節點
當前提交
622d8a4edb
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/constant.ts
  2. 1 1
      app/store/chat.ts

+ 1 - 1
app/constant.ts

@@ -185,7 +185,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<string, string> = {

+ 1 - 1
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();