fix(model,settings): 给模型查询接口添加上status=1参数
在两个模型列表查询的请求参数中新增status=1,仅查询启用状态的模型数据
This commit is contained in:
@@ -1015,6 +1015,7 @@ const fetchChatModelList = async () => {
|
||||
pageSize: chatModelPagination.pageSize,
|
||||
modelType: 1, // 传递 modelType=1 给后端,获取推理模型
|
||||
modelName: chatModelSearchKeyword.value || undefined,
|
||||
status: 1,
|
||||
});
|
||||
chatModelList.value = res.data?.list || [];
|
||||
chatModelPagination.total = res.data?.total || 0;
|
||||
|
||||
Reference in New Issue
Block a user