chore: use codestral for this so um
This commit is contained in:
parent
074e8ec3b0
commit
dcacd05054
|
|
@ -70,6 +70,7 @@ return {
|
|||
|
||||
-- generic
|
||||
vim.keymap.set('n', '<leader>tl', builtin.live_grep, { desc = 'Telescope live grep' })
|
||||
vim.keymap.set('n', '<leader>td', builtin.lsp_document_symbols, { desc = 'Telescope document symbols' })
|
||||
vim.keymap.set('n', '<leader>th', builtin.help_tags, { desc = 'Telescope help tags' })
|
||||
vim.keymap.set('n', '<leader>to', builtin.oldfiles, { desc = 'Telescope oldfiles' })
|
||||
vim.keymap.set('n', '<leader>tt', function()
|
||||
|
|
@ -141,8 +142,11 @@ return {
|
|||
},
|
||||
opts = {
|
||||
provider = "yor1",
|
||||
auto_suggestions_provider = "yoqwen32",
|
||||
auto_suggestions_provider = "codestral",
|
||||
cursor_applying_provider = "yoqwen32",
|
||||
behaviour = {
|
||||
enable_cursor_planning_mode = true, -- enable cursor planning mode!
|
||||
},
|
||||
|
||||
file_selector = {
|
||||
provider = "telescope",
|
||||
|
|
@ -172,6 +176,13 @@ return {
|
|||
endpoint = "https://api.siliconflow.cn/v1",
|
||||
model = "Pro/deepseek-ai/DeepSeek-V3",
|
||||
},
|
||||
|
||||
codestral = {
|
||||
__inherited_from = 'openai',
|
||||
api_key_name = 'CODESTRAL_API_KEY',
|
||||
endpoint = 'https://codestral.mistral.ai/v1',
|
||||
model = 'codestral-latest'
|
||||
}
|
||||
},
|
||||
}
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue