diff --git a/lua/avante/llm.lua b/lua/avante/llm.lua index 34f0d35..ad6d96f 100644 --- a/lua/avante/llm.lua +++ b/lua/avante/llm.lua @@ -96,8 +96,6 @@ M.stream = function(question, code_lang, code_content, selected_content_content, ---@type AvanteCurlOutput local spec = Provider.parse_curl_args(Provider, code_opts) - Utils.debug({ spec }) - ---@param line string local function parse_stream_data(line) local event = line:match("^event: (.+)$") diff --git a/lua/avante/providers/init.lua b/lua/avante/providers/init.lua index 81b34a3..c95754a 100644 --- a/lua/avante/providers/init.lua +++ b/lua/avante/providers/init.lua @@ -150,7 +150,6 @@ E.setup = function(opts) local function mount_dressing_buffer() vim.defer_fn(function() -- only mount if given buffer is not of buftype ministarter, dashboard, alpha, qf - local exclude_buftypes = { "qf", "nofile" } local exclude_filetypes = { "NvimTree", "Outline", @@ -163,12 +162,9 @@ E.setup = function(opts) "gitcommit", "gitrebase", "DressingInput", + "noice", } - if - not vim.tbl_contains(exclude_buftypes, vim.bo.buftype) - and not vim.tbl_contains(exclude_filetypes, vim.bo.filetype) - and not opts.provider.has() - then + if not vim.tbl_contains(exclude_filetypes, vim.bo.filetype) and not opts.provider.has() then Dressing.initialize_input_buffer({ opts = { prompt = "Enter " .. var .. ": " }, on_confirm = on_confirm,