1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-30 12:29: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 = {
copilot = {
model = "claude-3.7-sonnet",
-- model = "gpt-4.1",
timeout = 120000,
},
},
@ -25,16 +26,16 @@ require("avante").setup({
end,
-- using the MCP server
disabled_tools = {
"list_files",
"search_files",
"read_file",
"create_file",
"rename_file",
"delete_file",
"create_dir",
"rename_dir",
"delete_dir",
"bash",
},
-- disabled_tools = {
-- "list_files",
-- "search_files",
-- "read_file",
-- "create_file",
-- "rename_file",
-- "delete_file",
-- "create_dir",
-- "rename_dir",
-- "delete_dir",
-- "bash",
-- },
})

View File

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

View File

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

View File

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

View File

@ -21,7 +21,7 @@ require("snacks").setup({
sections = {
{ 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" },
{