perf(sidebar): update the buffer more efficiently (#724)

This commit is contained in:
yetone
2024-10-15 12:30:20 +08:00
committed by GitHub
parent 86ba5a468b
commit 8c28e285ea
3 changed files with 44 additions and 4 deletions

View File

@@ -85,8 +85,6 @@ M.stream = function(opts)
:filter(function(k) return k ~= "" end)
:totable()
Utils.debug("user prompts:", user_prompts)
---@type AvantePromptOptions
local code_opts = {
system_prompt = Config.system_prompt,