doc: document disabled_tools option (#1471)

This commit is contained in:
Omar Crespo
2025-03-03 02:01:58 -05:00
committed by GitHub
parent 981edcaf44
commit 6bbf9b3c42

View File

@@ -696,6 +696,18 @@ Avante enables tools by default, but some LLM models do not support tools. You c
}
```
In case you want to ban some tools to avoid its usage (like Claude 3.7 overusing the python tool) you can disable just specific tools
```lua
{
disabled_tools = { "python" },
}
```
Tool list
> rag_search, python, git_diff, git_commit, list_files, search_files, search_keyword, read_file_toplevel_symbols,
> read_file, create_file, rename_file, delete_file, create_dir, rename_dir, delete_dir, bash, web_search, fetch
## Custom prompts
By default, `avante.nvim` provides three different modes to interact with: `planning`, `editing`, and `suggesting`, followed with three different prompts per mode.