mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Change gpt summary model to gpt-4o-mini.
This commit is contained in:
		@@ -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<string, string> = {
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user