fix: do not modify the tool_use input

This commit is contained in:
yetone
2025-07-16 20:15:14 +08:00
parent ae06698c30
commit 2a16e7d4d9
9 changed files with 37 additions and 35 deletions

View File

@@ -163,8 +163,6 @@ M.func = vim.schedule_wrap(function(input, opts)
path = input.target_file,
old_str = original_code,
new_str = jsn.choices[1].message.content,
streaming = input.streaming,
tool_use_id = input.tool_use_id,
}
str_replace.func(new_input, opts)
end)