mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-07 01:08:58 +00:00
overhaul file search and support @ mentioning directories
This commit is contained in:
@@ -23,7 +23,7 @@ export const GlobTool = Tool.define("glob", {
|
||||
const limit = 100
|
||||
const files = []
|
||||
let truncated = false
|
||||
for (const file of await Ripgrep.files({
|
||||
for await (const file of Ripgrep.files({
|
||||
cwd: search,
|
||||
glob: [params.pattern],
|
||||
})) {
|
||||
|
||||
Reference in New Issue
Block a user