diff --git a/lua/avante/llm_tools/str_replace.lua b/lua/avante/llm_tools/str_replace.lua index 9a1cdc6..32a32ec 100644 --- a/lua/avante/llm_tools/str_replace.lua +++ b/lua/avante/llm_tools/str_replace.lua @@ -60,7 +60,7 @@ function M.func(input, opts) if not opts.streaming then diff = diff .. "\n+++++++ REPLACE" end local new_input = { path = input.path, - diff = diff, + the_diff = diff, } return replace_in_file.func(new_input, opts) end