mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	Update visionKeywords
This commit is contained in:
		@@ -257,11 +257,11 @@ export function isVisionModel(model: string) {
 | 
			
		||||
  const excludeKeywords = ["claude-3-5-haiku-20241022"];
 | 
			
		||||
  const visionKeywords = [
 | 
			
		||||
    "vision",
 | 
			
		||||
    "claude-3",
 | 
			
		||||
    "gemini-1.5-pro",
 | 
			
		||||
    "gemini-1.5-flash",
 | 
			
		||||
    "gpt-4o",
 | 
			
		||||
    "gpt-4o-mini",
 | 
			
		||||
    "claude-3",
 | 
			
		||||
    "gemini-1.5",
 | 
			
		||||
    "qwen-vl",
 | 
			
		||||
    "qwen2-vl",
 | 
			
		||||
  ];
 | 
			
		||||
  const isGpt4Turbo =
 | 
			
		||||
    model.includes("gpt-4-turbo") && !model.includes("preview");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user