From ef29a01840d6b705f6fae38511f9f7491aabdfbb Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 23 Jul 2025 11:06:39 +0800 Subject: [PATCH] fix: str_replace (#2515) --- lua/avante/llm_tools/str_replace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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