Merge branch 'preview' of https://github.com/continuedev/continue into preview
This commit is contained in:
commit
e3c52d136f
2 changed files with 5 additions and 3 deletions
|
|
@ -137,7 +137,7 @@ export async function retrieveContextItemsFromEmbeddings(
|
|||
if (extras.fullInput.trim() !== "") {
|
||||
ftsResults = await ftsIndex.retrieve(
|
||||
tags,
|
||||
extras.fullInput.trim().split(" ").join(" OR "),
|
||||
extras.fullInput.trim().split(" ").map(element => `"${element}"`).join(" OR "),
|
||||
nRetrieve / 2,
|
||||
filterDirectory,
|
||||
undefined
|
||||
|
|
|
|||
|
|
@ -165,12 +165,14 @@ async function getAddRemoveForTag(
|
|||
case AddRemoveResultType.Remove:
|
||||
await db.run(
|
||||
`DELETE FROM tag_catalog WHERE
|
||||
path IN (?) AND
|
||||
cacheKey = ? AND
|
||||
path = ? AND
|
||||
dir = ? AND
|
||||
branch = ? AND
|
||||
artifactId = ?
|
||||
`,
|
||||
remove.map((r) => `'${r.path}'`).join(", "),
|
||||
cacheKey,
|
||||
path,
|
||||
tag.directory,
|
||||
tag.branch,
|
||||
tag.artifactId
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue