feat(web): getModelListUrl add is_active param

This commit is contained in:
zhaoying
2026-01-27 20:33:23 +08:00
parent 75b3ea1f05
commit 1e481a311a
13 changed files with 28 additions and 25 deletions

View File

@@ -65,7 +65,7 @@ export const getModelTypeList = async () => {
};
// 获取模型列表
export const getModelList = async (pageInfo: PageRequest) => {
const response = await request.get(`${apiPrefix}/models`, pageInfo);
const response = await request.get(`${apiPrefix}/models`, { ...pageInfo, is_active: true });
return response as any;
};
//获取模型提供者