mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	chore: update Provider
This commit is contained in:
		@@ -118,7 +118,7 @@ export enum ServiceProvider {
 | 
				
			|||||||
  Stability = "Stability",
 | 
					  Stability = "Stability",
 | 
				
			||||||
  Iflytek = "Iflytek",
 | 
					  Iflytek = "Iflytek",
 | 
				
			||||||
  XAI = "XAI",
 | 
					  XAI = "XAI",
 | 
				
			||||||
  GLM = "GLM",
 | 
					  GLM = "ChatGLM",
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings
 | 
					// Google API safety settings, see https://ai.google.dev/gemini-api/docs/safety-settings
 | 
				
			||||||
@@ -142,7 +142,7 @@ export enum ModelProvider {
 | 
				
			|||||||
  Moonshot = "Moonshot",
 | 
					  Moonshot = "Moonshot",
 | 
				
			||||||
  Iflytek = "Iflytek",
 | 
					  Iflytek = "Iflytek",
 | 
				
			||||||
  XAI = "XAI",
 | 
					  XAI = "XAI",
 | 
				
			||||||
  GLM = "GLM",
 | 
					  GLM = "ChatGLM",
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const Stability = {
 | 
					export const Stability = {
 | 
				
			||||||
@@ -525,9 +525,9 @@ export const DEFAULT_MODELS = [
 | 
				
			|||||||
    available: true,
 | 
					    available: true,
 | 
				
			||||||
    sorted: seq++,
 | 
					    sorted: seq++,
 | 
				
			||||||
    provider: {
 | 
					    provider: {
 | 
				
			||||||
      id: "glm",
 | 
					      id: "chatglm",
 | 
				
			||||||
      providerName: "GLM",
 | 
					      providerName: "ChatGLM",
 | 
				
			||||||
      providerType: "glm",
 | 
					      providerType: "chatglm",
 | 
				
			||||||
      sorted: 12,
 | 
					      sorted: 12,
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  })),
 | 
					  })),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user