mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 02:31:08 +08:00
Merge pull request #6572 from jerryno6/main
feat: Update moonshot models and fix for typo
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 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 IFLYTEK_BASE_URL = "https://spark-api-open.xf-yun.com";
|
||||||
|
|
||||||
export const DEEPSEEK_BASE_URL = "https://api.deepseek.com";
|
export const DEEPSEEK_BASE_URL = "https://api.deepseek.com";
|
||||||
@@ -623,7 +623,18 @@ const tencentModels = [
|
|||||||
"hunyuan-vision",
|
"hunyuan-vision",
|
||||||
];
|
];
|
||||||
|
|
||||||
const moonshotModes = ["moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k"];
|
const moonshotModels = [
|
||||||
|
"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 = [
|
const iflytekModels = [
|
||||||
"general",
|
"general",
|
||||||
@@ -810,7 +821,7 @@ export const DEFAULT_MODELS = [
|
|||||||
sorted: 8,
|
sorted: 8,
|
||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
...moonshotModes.map((name) => ({
|
...moonshotModels.map((name) => ({
|
||||||
name,
|
name,
|
||||||
available: true,
|
available: true,
|
||||||
sorted: seq++,
|
sorted: seq++,
|
||||||
|
Reference in New Issue
Block a user