fix: clear useless parameters

This commit is contained in:
yetone
2025-07-17 13:48:15 +08:00
parent 2a16e7d4d9
commit 5ea24f59fa
7 changed files with 8 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ M.returns = {
},
}
---@type AvanteLLMToolFunc<{ path: string, old_str: string, new_str: string, streaming?: boolean, tool_use_id?: string }>
---@type AvanteLLMToolFunc<{ path: string, old_str: string, new_str: string }>
function M.func(input, opts)
local replace_in_file = require("avante.llm_tools.replace_in_file")
local diff = "------- SEARCH\n" .. input.old_str .. "\n=======\n" .. input.new_str