added minuet
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
"mini.ai": { "branch": "main", "commit": "1cd4f021a05c29acd4ab511c0981da14217daf38" },
|
||||
"mini.sessions": { "branch": "main", "commit": "dd7fe484dfcbf270a788e9291545df509cdb9691" },
|
||||
"mini.surround": { "branch": "main", "commit": "5aab42fcdcf31fa010f012771eda5631c077840a" },
|
||||
"minuet-ai.nvim": { "branch": "main", "commit": "d8e2aef4d7c3178d28c0073829cd1845588e8e40" },
|
||||
"monokai-pro.nvim": { "branch": "master", "commit": "1ac671f6da720cba967d28d25c2f16b8b4e18808" },
|
||||
"neogen": { "branch": "main", "commit": "d7f9461727751fb07f82011051338a9aba07581d" },
|
||||
"neogit": { "branch": "master", "commit": "b8d840ed988ec3751ea2d9c9a66f635c3439564a" },
|
||||
|
||||
@@ -45,10 +45,11 @@ return {
|
||||
auto_insert = false,
|
||||
},
|
||||
},
|
||||
trigger = { prefetch_on_insert = false },
|
||||
},
|
||||
|
||||
sources = {
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer', 'copilot' },
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer', 'minuet' },
|
||||
providers = {
|
||||
lsp = {
|
||||
fallbacks = {},
|
||||
@@ -64,6 +65,15 @@ return {
|
||||
score_offset = 100,
|
||||
async = true,
|
||||
},
|
||||
minuet = {
|
||||
name = 'minuet',
|
||||
module = 'minuet.blink',
|
||||
async = true,
|
||||
-- Should match minuet.config.request_timeout * 1000,
|
||||
-- since minuet.config.request_timeout is in seconds
|
||||
timeout_ms = 3000,
|
||||
score_offset = 50, -- Gives minuet higher priority among suggestions
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
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