first pass making system prompt less fast

This commit is contained in:
Dax Raad
2025-06-15 20:24:51 -04:00
parent c5eefd1752
commit 7d174767b0
5 changed files with 75 additions and 9 deletions

View File

@@ -457,7 +457,11 @@ export namespace Server {
async (c) => {
const body = c.req.valid("json")
const app = App.info()
const result = await Fzf.search(app.path.cwd, body.query)
const result = await Fzf.search({
cwd: app.path.cwd,
query: body.query,
limit: 10,
})
return c.json(result)
},
)