mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	feat: update api endpoint & Moonshot models. I get models from api.moonshot.ai/v1/models
This commit is contained in:
		@@ -25,7 +25,7 @@ export const ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/";
 | 
			
		||||
 | 
			
		||||
export const TENCENT_BASE_URL = "https://hunyuan.tencentcloudapi.com";
 | 
			
		||||
 | 
			
		||||
export const MOONSHOT_BASE_URL = "https://api.moonshot.cn";
 | 
			
		||||
export const MOONSHOT_BASE_URL = "https://api.moonshot.ai";
 | 
			
		||||
export const IFLYTEK_BASE_URL = "https://spark-api-open.xf-yun.com";
 | 
			
		||||
 | 
			
		||||
export const DEEPSEEK_BASE_URL = "https://api.deepseek.com";
 | 
			
		||||
@@ -623,7 +623,18 @@ const tencentModels = [
 | 
			
		||||
  "hunyuan-vision",
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
const moonshotModes = ["moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k"];
 | 
			
		||||
const moonshotModes = [
 | 
			
		||||
  "moonshot-v1-auto",
 | 
			
		||||
  "moonshot-v1-8k",
 | 
			
		||||
  "moonshot-v1-32k",
 | 
			
		||||
  "moonshot-v1-128k",
 | 
			
		||||
  "moonshot-v1-8k-vision-preview",
 | 
			
		||||
  "moonshot-v1-32k-vision-preview",
 | 
			
		||||
  "moonshot-v1-128k-vision-preview",
 | 
			
		||||
  "kimi-thinking-preview",
 | 
			
		||||
  "kimi-k2-0711-preview",
 | 
			
		||||
  "kimi-latest",
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
const iflytekModels = [
 | 
			
		||||
  "general",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user