mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-11 03:08:41 +00:00
turn on tool call streaming
This commit is contained in:
10
packages/opencode/src/file/index.ts
Normal file
10
packages/opencode/src/file/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export namespace File {
|
||||
const glob = new Bun.Glob("**/*")
|
||||
export async function search(path: string) {
|
||||
for await (const entry of glob.scan({
|
||||
cwd: path,
|
||||
onlyFiles: true,
|
||||
})) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user