mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-14 08:58:27 +08:00
Fix: parent child config (#14199)
### What problem does this PR solve? Correctly set and display parent-child config in parser_config, and allow to pass `tenant_id` in PATCH `/api/v1/chats`. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -322,15 +322,12 @@ export const useUpdateKnowledge = (shouldFetchList = false) => {
|
||||
filename_embd_weight,
|
||||
task_page_size,
|
||||
pages,
|
||||
parent_child:
|
||||
children_delimiter !== undefined ||
|
||||
use_parent_child !== undefined ||
|
||||
enable_children !== undefined
|
||||
? {
|
||||
children_delimiter,
|
||||
use_parent_child: use_parent_child ?? enable_children,
|
||||
}
|
||||
: undefined,
|
||||
parent_child: enable_children
|
||||
? {
|
||||
children_delimiter,
|
||||
use_parent_child: use_parent_child ?? enable_children,
|
||||
}
|
||||
: undefined,
|
||||
ext: { ...ext, ...parserExt },
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user