feat: enable token counting (#1157)

This commit is contained in:
yetone
2025-02-02 01:27:12 +08:00
committed by GitHub
parent 0a273c2f5d
commit d1286e7bfb
3 changed files with 12 additions and 13 deletions

View File

@@ -246,6 +246,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
auto_apply_diff_after_generation = false,
support_paste_from_clipboard = false,
minimize_diff = true, -- Whether to remove unchanged lines when applying a code block
enable_token_counting = true, -- Whether to enable token counting. Default to true.
},
mappings = {
--- @class AvanteConflictMappings