feat: integrated morph

This commit is contained in:
yetone
2025-07-16 17:55:41 +08:00
parent 1455ed6005
commit adbd296ba6
10 changed files with 264 additions and 52 deletions

View File

@@ -10,7 +10,9 @@ M.name = "write_to_file"
M.description =
"Request to write content to a file at the specified path. If the file exists, it will be overwritten with the provided content. If the file doesn't exist, it will be created. This tool will automatically create any directories needed to write the file."
function M.enabled() return require("avante.config").mode == "agentic" end
function M.enabled()
return require("avante.config").mode == "agentic" and not require("avante.config").behaviour.enable_fastapply
end
---@type AvanteLLMToolParam
M.param = {