@@ -79,7 +79,7 @@ func initBuiltInStore(modelProviderName string, embeddingProviderName string, tt
7979 PropertiesMap : map [string ]* Properties {},
8080 }
8181
82- if conf .GetConfigString ("providerDbName " ) != "" {
82+ if conf .GetConfigString ("parentDbName " ) != "" {
8383 store .ShowAutoRead = true
8484 store .DisableFileUpload = true
8585
@@ -101,8 +101,8 @@ func initBuiltInStore(modelProviderName string, embeddingProviderName string, tt
101101}
102102
103103func getDefaultStoragePath () (string , error ) {
104- providerDbName := conf .GetConfigString ("providerDbName " )
105- if providerDbName != "" {
104+ parentDbName := conf .GetConfigString ("parentDbName " )
105+ if parentDbName != "" {
106106 dbName := conf .GetConfigString ("dbName" )
107107 return fmt .Sprintf ("C:/openagent_data/%s" , dbName ), nil
108108 }
@@ -173,8 +173,8 @@ func initBuiltInProviders() (string, string, string, string, string) {
173173 }
174174
175175 imageProviderName := ""
176- providerDbName := conf .GetConfigString ("providerDbName " )
177- if providerDbName != "" {
176+ parentDbName := conf .GetConfigString ("parentDbName " )
177+ if parentDbName != "" {
178178 imageProviderName = "provider_storage_casibase_default"
179179 } else {
180180 imageProvider , err := getProvider ("admin" , "provider-image-built-in" )
0 commit comments