Fixed issues

This commit is contained in:
Jonas Widen 2025-03-16 19:11:27 +01:00
parent c076f03da4
commit bb152fd06f

View File

@ -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,