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

@@ -51,7 +51,7 @@ M.returns = {
},
}
---@type AvanteLLMToolFunc<{ target_file: string, instructions: string, code_edit: string, streaming?: boolean, tool_use_id?: string }>
---@type AvanteLLMToolFunc<{ target_file: string, instructions: string, code_edit: string }>
M.func = vim.schedule_wrap(function(input, opts)
local on_complete = opts.on_complete
if not on_complete then return false, "on_complete not provided" end