diff --git a/lazyvim/README.md b/lazyvim/README.md index 0653591..dc2725e 100644 --- a/lazyvim/README.md +++ b/lazyvim/README.md @@ -52,5 +52,8 @@ sudo apt install vim-gtk3 Now, right click > copy will copy to system clipboard. Alternatively you can copy to the `+` or `*` register (`"`` + `+` + `y` ) and paste outside. +### Avante +Reference: https://github.com/yetone/avante.nvim/blob/main/lua/avante/config.lua + ## Shortcut Reference `` key is space key. I don't see a need to change it for me. diff --git a/lazyvim/lua/plugins/avante.lua b/lazyvim/lua/plugins/avante.lua index d5ef568..5f53879 100644 --- a/lazyvim/lua/plugins/avante.lua +++ b/lazyvim/lua/plugins/avante.lua @@ -1,14 +1,21 @@ -- https://github.com/yetone/avante.nvim --- Note disabled for now. (See enabled=false) return { { "yetone/avante.nvim", - enabled = false, event = "VeryLazy", lazy = false, version = false, -- set this if you want to always pull the latest change opts = { - -- add any opts here + provider = "pws_llm", + vendors = { + pws_llm = { + endpoint = "http://localhost:8000", + model = "gpt2", + timeout = 30000, + api_key_name = "", --empty because no key is required + api_key = "", --self hosted :) + }, + }, }, -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` build = "make",