feat:zhipu support text_embedding

This commit is contained in:
igophper
2023-09-21 17:36:37 +08:00
parent 8651451e53
commit 4c7c3b6999
5 changed files with 107 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ const EditChannel = () => {
localModels = ['qwen-v1', 'qwen-plus-v1', 'text-embedding-v1'];
break;
case 16:
localModels = ['chatglm_pro', 'chatglm_std', 'chatglm_lite'];
localModels = ['chatglm_pro', 'chatglm_std', 'chatglm_lite', 'text_embedding'];
break;
case 18:
localModels = ['SparkDesk'];