File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const ALIBABA_BASE_URL = "https://dashscope.aliyuncs.com/api/";
2525
2626export const TENCENT_BASE_URL = "https://hunyuan.tencentcloudapi.com" ;
2727
28- export const MOONSHOT_BASE_URL = "https://api.moonshot.cn " ;
28+ export const MOONSHOT_BASE_URL = "https://api.moonshot.ai " ;
2929export const IFLYTEK_BASE_URL = "https://spark-api-open.xf-yun.com" ;
3030
3131export const DEEPSEEK_BASE_URL = "https://api.deepseek.com" ;
@@ -623,7 +623,18 @@ const tencentModels = [
623623 "hunyuan-vision" ,
624624] ;
625625
626- const moonshotModes = [ "moonshot-v1-8k" , "moonshot-v1-32k" , "moonshot-v1-128k" ] ;
626+ const moonshotModels = [
627+ "moonshot-v1-auto" ,
628+ "moonshot-v1-8k" ,
629+ "moonshot-v1-32k" ,
630+ "moonshot-v1-128k" ,
631+ "moonshot-v1-8k-vision-preview" ,
632+ "moonshot-v1-32k-vision-preview" ,
633+ "moonshot-v1-128k-vision-preview" ,
634+ "kimi-thinking-preview" ,
635+ "kimi-k2-0711-preview" ,
636+ "kimi-latest" ,
637+ ] ;
627638
628639const iflytekModels = [
629640 "general" ,
@@ -810,7 +821,7 @@ export const DEFAULT_MODELS = [
810821 sorted : 8 ,
811822 } ,
812823 } ) ) ,
813- ...moonshotModes . map ( ( name ) => ( {
824+ ...moonshotModels . map ( ( name ) => ( {
814825 name,
815826 available : true ,
816827 sorted : seq ++ ,
You can’t perform that action at this time.
0 commit comments