improve: support to customize the spinners (#2397)

This commit is contained in:
guanghechen
2025-07-02 18:54:41 +08:00
committed by GitHub
parent 8fde103734
commit 7aec52ff3e
5 changed files with 55 additions and 43 deletions

View File

@@ -453,6 +453,11 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
align = "center", -- left, center, right for title
rounded = true,
},
spinner = {
editing = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
generating = { "·", "", "", "", "", "" }, -- Spinner characters for the 'generating' state
thinking = { "🤯", "🙄" }, -- Spinner characters for the 'thinking' state
},
input = {
prefix = "> ",
height = 8, -- Height of the input window in vertical layout