mirror of
https://github.com/runyanjake/dotfiles.git
synced 2025-10-04 13:57:28 -07:00
WIP add pws llm as a vendor for avante. Queries do not make it to LLM.
This commit is contained in:
parent
c428c30521
commit
1f4b74606c
@ -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
|
||||
`<LEADER>` key is space key. I don't see a need to change it for me.
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user