Skip to content

Commit eb4cfca

Browse files
author
Working On It
committed
fix: bug in init sqlite database
1 parent bd0a2ef commit eb4cfca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

object/init.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ func initBuiltInProviders() (string, string, string, string) {
154154
Category: "Storage",
155155
Type: "Local File System",
156156
ClientId: path,
157+
IsDefault: true,
157158
}
158159
_, err = AddProvider(storageProvider)
159160
if err != nil && !strings.Contains(err.Error(), "Duplicate entry") {
@@ -170,6 +171,7 @@ func initBuiltInProviders() (string, string, string, string) {
170171
Category: "Model",
171172
Type: "Dummy",
172173
SubType: "Dummy",
174+
IsDefault: true,
173175
}
174176
_, err = AddProvider(modelProvider)
175177
if err != nil && !strings.Contains(err.Error(), "Duplicate entry") {
@@ -186,6 +188,7 @@ func initBuiltInProviders() (string, string, string, string) {
186188
Category: "Embedding",
187189
Type: "Dummy",
188190
SubType: "Dummy",
191+
IsDefault: true,
189192
}
190193
_, err = AddProvider(embeddingProvider)
191194
if err != nil && !strings.Contains(err.Error(), "Duplicate entry") {

0 commit comments

Comments
 (0)