fix: history storage path and delete clear memory (#2153)

This commit is contained in:
yetone
2025-06-05 00:26:02 +08:00
committed by GitHub
parent 9efb9e1029
commit 58d08bf0cc
3 changed files with 4 additions and 4 deletions

View File

@@ -419,7 +419,7 @@ M._defaults = {
history = {
max_tokens = 4096,
carried_entry_count = nil,
storage_path = vim.fn.stdpath("state") .. "/avante",
storage_path = Utils.join_paths(vim.fn.stdpath("state"), "avante"),
paste = {
extension = "png",
filename = "pasted-%Y-%m-%d-%H-%M-%S",