mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 04:42:46 +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 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 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 = [
|
const iflytekModels = [
|
||||||
"general",
|
"general",
|
||||||
|
Reference in New Issue
Block a user