22 lines
500 B
Lua
22 lines
500 B
Lua
return {
|
|
'milanglacier/minuet-ai.nvim',
|
|
event = 'InsertEnter',
|
|
opts = {
|
|
provider = 'codestral',
|
|
request_timeout = 3,
|
|
n_completions = 2,
|
|
context_window = 12000,
|
|
provider_options = {
|
|
codestral = {
|
|
model = 'codestral-latest',
|
|
end_point = 'https://api.mistral.ai/v1/fim/completions',
|
|
api_key = 'MISTRAL_API_KEY',
|
|
stream = true,
|
|
optional = {
|
|
max_tokens = 256,
|
|
stop = { '\n\n' },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|