feat: add stop sequence (#1652)

This commit is contained in:
Omar Crespo
2025-03-21 06:34:33 -05:00
committed by GitHub
parent d1fa11ec41
commit bae5275705
9 changed files with 129 additions and 10 deletions

View File

@@ -237,6 +237,8 @@ function M.select_history()
end)
end
function M.stop() require("avante.llm").cancel_inflight_request() end
return setmetatable(M, {
__index = function(t, k)
local module = require("avante")