fix: selectively enable text editor tool (#1747)

This commit is contained in:
yetone
2025-03-28 00:31:57 +08:00
committed by GitHub
parent 65d6ffa917
commit b6000d5bbc
4 changed files with 8 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ M.name = "str_replace"
M.description =
"The str_replace tool allows you to replace a specific string in a file with a new string. This is used for making precise edits."
function M.enabled() return require("avante.config").behaviour.enable_claude_text_editor_tool_mode end
---@type AvanteLLMToolParam
M.param = {
type = "table",