fix: respect global default storage engine when creating knowledge base (#772)

Change default storageProvider in initFormData() from hardcoded 'local'
to empty string so KBStorageSettings.vue can apply the global config.
This commit is contained in:
lyingbug
2026-03-20 22:18:34 +00:00
committed by lyingbug
parent e11bd8c57d
commit db16de084d
@@ -348,7 +348,7 @@ const initFormData = (type: 'document' | 'faq' = 'document') => {
parentChunkSize: 4096, parentChunkSize: 4096,
childChunkSize: 384 childChunkSize: 384
}, },
storageProvider: 'local' as string, storageProvider: '' as string,
multimodalConfig: { multimodalConfig: {
enabled: false, enabled: false,
vllmModelId: '' vllmModelId: ''