mirror of
				https://github.com/dcarrillo/dotfiles.git
				synced 2025-11-04 00:29:08 +00:00 
			
		
		
		
	[neovim] Update LLM models config
This commit is contained in:
		@@ -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",
 | 
			
		||||
	-- },
 | 
			
		||||
})
 | 
			
		||||
 
 | 
			
		||||
@@ -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 = {
 | 
			
		||||
 
 | 
			
		||||
@@ -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", {
 | 
			
		||||
 
 | 
			
		||||
@@ -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",
 | 
			
		||||
 
 | 
			
		||||
@@ -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" },
 | 
			
		||||
			{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user