fix(web): ui

This commit is contained in:
zhaoying
2026-03-27 16:00:26 +08:00
parent 200c13b59f
commit e37b1b01ca
36 changed files with 307 additions and 121 deletions

View File

@@ -68,8 +68,8 @@ export const getModelTypeList = async () => {
return response as any[];
};
// 获取模型列表
export const getModelList = async (pageInfo: PageRequest) => {
const response = await request.get(`${apiPrefix}/models`, { ...pageInfo, is_active: true });
export const getModelList = async (types: string[], pageInfo: PageRequest) => {
const response = await request.get(`${apiPrefix}/models`, { ...pageInfo, type: types?.join(','), is_active: true });
return response as any;
};
//获取模型提供者