Feat: Even if the knowledge base has slices, the chunk method can be changed #7115 (#7201)

### What problem does this PR solve?

Feat: Even if the knowledge base has slices, the chunk method can be
changed #7115

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu 2025-04-22 16:04:49 +08:00 committed by GitHub
parent 64dd187498
commit dde8c26feb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() {
const { t } = useTranslate('knowledgeConfiguration');
const form = Form.useFormInstance();
const handleChunkMethodSelectChange = useHandleChunkMethodSelectChange(form);
const disabled = useHasParsedDocument();
const parserList = useSelectChunkMethodList();
return (
@ -45,7 +44,6 @@ export const ChunkMethodItem = memo(function ChunkMethodItem() {
>
<Select
placeholder={t('chunkMethodPlaceholder')}
disabled={disabled}
onChange={handleChunkMethodSelectChange}
options={parserList}
></Select>