Fix: knowledge base's embedded model form layout and dependency imports in the main branch. #9869 (#10160)

### What problem does this PR solve?

Fix: Fixed the knowledge base's embedded model form layout and
dependency imports in the main branch.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-09-19 09:57:21 +08:00
committed by GitHub
parent 4693c5382a
commit a0ccbec8bd
3 changed files with 6 additions and 7 deletions

View File

@ -17,7 +17,7 @@ export function MaxTokenNumberFormField({ max = 2048, initialValue }: IProps) {
tooltip={t('chunkTokenNumberTip')}
max={max}
defaultValue={initialValue ?? 0}
layout={FormLayout.Horizontal}
layout={FormLayout.Vertical}
></SliderInputFormField>
);
}