1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-31 08:19:25 +00:00

[neovim] Update LLM models config

This commit is contained in:
2025-07-16 18:47:33 +02:00
parent 9b3a40dee7
commit 8cb5ba0488
5 changed files with 22 additions and 18 deletions

View File

@ -3,6 +3,7 @@ require("avante").setup({
providers = { providers = {
copilot = { copilot = {
model = "claude-3.7-sonnet", model = "claude-3.7-sonnet",
-- model = "gpt-4.1",
timeout = 120000, timeout = 120000,
}, },
}, },
@ -25,16 +26,16 @@ require("avante").setup({
end, end,
-- using the MCP server -- using the MCP server
disabled_tools = { -- disabled_tools = {
"list_files", -- "list_files",
"search_files", -- "search_files",
"read_file", -- "read_file",
"create_file", -- "create_file",
"rename_file", -- "rename_file",
"delete_file", -- "delete_file",
"create_dir", -- "create_dir",
"rename_dir", -- "rename_dir",
"delete_dir", -- "delete_dir",
"bash", -- "bash",
}, -- },
}) })

View File

@ -1,9 +1,10 @@
require("blink.cmp").setup({ require("blink.cmp").setup({
-- disable completion for certain filetypes -- disable completion for certain filetypes
enabled = function() enabled = function()
return not vim.tbl_contains({ "sagarename", "DressingInput", "AvanteInput" }, vim.bo.filetype) return not vim.tbl_contains(
and vim.bo.buftype ~= "prompt" { "sagarename", "DressingInput", "AvanteInput", "AvantePromptInput" },
and vim.b.completion ~= false vim.bo.filetype
) and vim.bo.buftype ~= "prompt" and vim.b.completion ~= false
end, end,
appearance = { appearance = {

View File

@ -1,7 +1,7 @@
require("copilot").setup({ require("copilot").setup({
suggestion = { enabled = false }, suggestion = { enabled = false },
panel = { enabled = false }, panel = { enabled = false },
copilot_model = "claude-3.7-sonnet-thought", copilot_model = "claude-4",
filetypes = { filetypes = {
dockerfile = true, dockerfile = true,
go = true, go = true,
@ -37,7 +37,7 @@ require("CopilotChat").setup({
show_user_selection = false, show_user_selection = false,
clear_chat_on_new_prompt = false, clear_chat_on_new_prompt = false,
prompts = prompts, prompts = prompts,
model = "claude-3.7-sonnet-thought", model = "gpt-4.1",
}) })
vim.api.nvim_create_autocmd("BufEnter", { vim.api.nvim_create_autocmd("BufEnter", {

View File

@ -17,6 +17,8 @@ require("neovim-project").setup({
filetype_autocmd_timeout = 0, filetype_autocmd_timeout = 0,
session_manager_opts = { session_manager_opts = {
autosave_ignore_filetypes = { autosave_ignore_filetypes = {
"AvanteInput",
"AvantePromptInput",
"snacks_picker_list", "snacks_picker_list",
"trouble", "trouble",
"grug-far", "grug-far",

View File

@ -21,7 +21,7 @@ require("snacks").setup({
sections = { sections = {
{ section = "header" }, { section = "header" },
{ icon = "", desc = "Projects", action = ":Telescope neovim-project", key = "p", padding = 1 }, { icon = "", desc = "Projects", action = ":NeovimProjectDiscover history", key = "p", padding = 1 },
{ icon = "", key = "n", desc = "New File", action = ":ene | startinsert" }, { icon = "", key = "n", desc = "New File", action = ":ene | startinsert" },
{ {