diff --git a/lua/gemini/completion.lua b/lua/gemini/completion.lua index d7f3c81..b950b94 100644 --- a/lua/gemini/completion.lua +++ b/lua/gemini/completion.lua @@ -40,7 +40,6 @@ local function parse_completion_response(response) end function M.get_completion(params, callback) - vim.notify("Gemini completion triggered", vim.log.levels.INFO) local cursor = vim.api.nvim_win_get_cursor(0) local line = cursor[1] local col = cursor[2] @@ -60,12 +59,9 @@ function M.get_completion(params, callback) before_cursor ) - vim.notify("Sending completion request to Gemini", vim.log.levels.INFO) - -- Get completion from Gemini api.get_response(prompt, nil, function(response, error) if error then - vim.notify("Completion error: " .. error, vim.log.levels.ERROR) callback({ { word = "Error: " .. error, @@ -76,7 +72,6 @@ function M.get_completion(params, callback) return end - vim.notify("Received completion response", vim.log.levels.INFO) local items = parse_completion_response(response) callback(items) end)