mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-29 04:08:12 +08:00
Fix: An error message appears when accessing the agent's launch page: "pagesize exceeds maximum value". (#15835)
### What problem does this PR solve? Fix: An error message appears when accessing the agent's launch page: "pagesize exceeds maximum value". ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: balibabu <assassin_cike@163.com>
This commit is contained in:
@@ -719,7 +719,7 @@ export const useFetchSessionsByCanvasId = () => {
|
||||
|
||||
const { data } = await fetchAgentLogsByCanvasId(canvasId, {
|
||||
page: 1,
|
||||
page_size: 100000,
|
||||
page_size: 100,
|
||||
exp_user_id: tenantInfo.tenant_id,
|
||||
});
|
||||
|
||||
|
||||
@@ -317,6 +317,8 @@ export const useFetchPureFileList = () => {
|
||||
mutationFn: async (parentId: string) => {
|
||||
const { data } = await fileManagerService.listFile({
|
||||
parent_id: parentId,
|
||||
page_size: 100,
|
||||
page: 1,
|
||||
});
|
||||
|
||||
return data;
|
||||
|
||||
@@ -475,7 +475,7 @@ export const useManageMetaDataModal = (
|
||||
return handleSaveSettings(callback, builtInMetadata);
|
||||
|
||||
case MetadataType.SingleFileSetting:
|
||||
return handleSaveSingleFileSettings(callback);
|
||||
return handleSaveSingleFileSettings(callback, builtInMetadata);
|
||||
default:
|
||||
handleSaveManage(callback);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user