Files
nvim/lua/plugins/minuet-ai.lua
2025-08-08 00:24:10 +02:00

35 lines
903 B
Lua

return {
'milanglacier/minuet-ai.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
},
opts = {
provider = 'gemini',
provider_options = {
gemini = {
model = 'gemini-2.5-flash',
optional = {
generationConfig = {
maxOutputTokens = 256,
-- When using `gemini-2.5-flash`, it is recommended to entirely
-- disable thinking for faster completion retrieval.
thinkingConfig = {
thinkingBudget = 0,
},
},
safetySettings = {
{
-- HARM_CATEGORY_HATE_SPEECH,
-- HARM_CATEGORY_HARASSMENT
-- HARM_CATEGORY_SEXUALLY_EXPLICIT
category = 'HARM_CATEGORY_DANGEROUS_CONTENT',
-- BLOCK_NONE
threshold = 'BLOCK_ONLY_HIGH',
},
},
},
},
},
},
}