added minuet
This commit is contained in:
34
lua/plugins/minuet-ai.lua
Normal file
34
lua/plugins/minuet-ai.lua
Normal file
@@ -0,0 +1,34 @@
|
||||
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',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user