mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-03 15:43:45 +00:00
tool rework
This commit is contained in:
@@ -255,8 +255,8 @@ async function searchFiles(
|
||||
return { matches, truncated }
|
||||
}
|
||||
|
||||
export const grep = Tool.define({
|
||||
name: "opencode.grep",
|
||||
export const GrepTool = Tool.define({
|
||||
id: "opencode.grep",
|
||||
description: DESCRIPTION,
|
||||
parameters: z.object({
|
||||
pattern: z
|
||||
|
||||
Reference in New Issue
Block a user