From cb5f94b1971c2d51066701f5f77625538cdebf35 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 27 六月 2025 09:02:51 +0800 Subject: [PATCH] 修改模型查询接口ModelApi.getModelSimpleList --- src/views/ai/utils/constants.ts | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/ai/utils/constants.ts b/src/views/ai/utils/constants.ts index 580c676..713862a 100644 --- a/src/views/ai/utils/constants.ts +++ b/src/views/ai/utils/constants.ts @@ -25,12 +25,12 @@ } export const AiModelTypeEnum = { - CHAT: 1, // 聊天 - IMAGE: 2, // 图像 - VOICE: 3, // 音频 - VIDEO: 4, // 视频 - EMBEDDING: 5, // 向量 - RERANK: 6 // 重排 + CHAT: '1', // 聊天 + IMAGE: '2', // 图像 + VOICE: '3', // 音频 + VIDEO: '4', // 视频 + EMBEDDING: '5', // 向量 + LLM: '6' // 重排 } export const OtherPlatformEnum: ImageModelVO[] = [ -- Gitblit v1.9.3