feat: manual compact instead of automatic compact (#1996)

This commit is contained in:
yetone
2025-05-06 20:57:58 +08:00
committed by GitHub
parent 89d420ccec
commit 2d6527197d
4 changed files with 35 additions and 2 deletions

View File

@@ -359,7 +359,7 @@ vim.g.avante_login = vim.g.avante_login
---@alias AvanteLLMMemorySummarizeCallback fun(pending_compaction_history_messages: avante.HistoryMessage[]): nil
---
---@alias AvanteLLMToolUseState "generating" | "generated" | "running" | "succeeded" | "failed"
---@alias avante.GenerateState "generating" | "tool calling" | "failed" | "succeeded" | "cancelled" | "searching" | "thinking"
---@alias avante.GenerateState "generating" | "tool calling" | "failed" | "succeeded" | "cancelled" | "searching" | "thinking" | "compacting" | "compacted"
---
---@class AvanteLLMStreamOptions: AvanteGeneratePromptsOptions
---@field on_start AvanteLLMStartCallback