mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-07 12:00:44 +08:00
Fix: Unable to create dataset (#15472)
### What problem does this PR solve? Fix: Unable to create dataset ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -106,10 +106,10 @@ export function InputForm({ onOk }: IModalProps<any>) {
|
||||
if (parseType === ParseType.BuiltIn) {
|
||||
form.setValue('pipeline_id', '');
|
||||
}
|
||||
if (tenantInfo?.embd_id) {
|
||||
form.setValue('embedding_model', tenantInfo?.embd_id);
|
||||
if (defaultModelDictionary?.embd_id) {
|
||||
form.setValue('embedding_model', defaultModelDictionary?.embd_id);
|
||||
}
|
||||
}, [parseType, form, tenantInfo]);
|
||||
}, [parseType, form, defaultModelDictionary]);
|
||||
|
||||
return (
|
||||
<Form {...form}>
|
||||
|
||||
Reference in New Issue
Block a user