diff --git a/lua/gemini/config.lua b/lua/gemini/config.lua index 12fb74f..2d63d0b 100644 --- a/lua/gemini/config.lua +++ b/lua/gemini/config.lua @@ -1,8 +1,8 @@ local M = {} M.defaults = { - model = "gemini-2.0-flash", -- Reverting back to the original model - api_url = "https://generativelanguage.googleapis.com/v1beta/models/%s/generateContent", + model = "gemini-2.0-flash", + api_url = "https://generativelanguage.googleapis.com/v1/models/%s:generateContent", -- Updated URL format window = { width = function() return math.floor(vim.o.columns / 3) end, height = function() return vim.o.lines - 2 end,