Update avante config to use copilot

This commit is contained in:
2025-05-12 11:22:25 -04:00
parent 7715f07c34
commit 0d09d7334b
3 changed files with 90 additions and 67 deletions

View File

@@ -3,7 +3,10 @@ return {
event = "VeryLazy",
lazy = false,
opts = {
-- add any opts here
provider = "copilot", -- work is paying for this so it's free for me
copilot = {
model = "claude-3.7-sonnet",
},
},
keys = {
{
@@ -32,11 +35,13 @@ return {
},
build = "make",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
--- The below dependencies are optional,
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
"zbirenbaum/copilot.lua", -- for providers='copilot'
{
-- support for image pasting
"HakonHarnes/img-clip.nvim",