Skip to content

Commit bbe2821

Browse files
author
prima
committed
fix: Embeddings issues
1 parent 76112cd commit bbe2821

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

klite.embd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27540,7 +27540,7 @@ else
2754027540
minItems: 1,
2754127541
}
2754227542
},
27543-
"enabled": documentdb_enabled,
27543+
"enabled": documentdb_provider != "0",
2754427544
"executor": (action) => {
2754527545
let textToAdd = action?.args?.text
2754627546
let keywords = action?.args?.keywords
@@ -27688,7 +27688,7 @@ else
2768827688
"args": {
2768927689
"searchString": "<string to search for>"
2769027690
},
27691-
"enabled": documentdb_enabled,
27691+
"enabled": documentdb_provider != "0",
2769227692
"executor": async (action) => {
2769327693
let searchHistoryString = action?.args?.searchString
2769427694
if (!!searchHistoryString) {
@@ -28836,7 +28836,7 @@ let checkFinalThoughtsPrompt = `Action: {"command":{"name":"thought","args":{"me
2883628836
initialPrompt = prevInput
2883728837
}
2883828838
}
28839-
if (!!initialPrompt && !!documentdb_enabled)
28839+
if (!!initialPrompt && !!documentdb_provider != "0")
2884028840
{
2884128841
let contentToSearch = documentdb_data
2884228842
if (!!documentdb_searchhistory)

0 commit comments

Comments
 (0)