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:
@@ -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: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user