wip: use copilot
This commit is contained in:
parent
e281fdb1d0
commit
8036d54fcd
@ -136,6 +136,7 @@
|
||||
custom-neovim = nvim;
|
||||
lorri = unstablePkgs.lorri;
|
||||
avante-nvim = unstablePkgs.vimPlugins.avante-nvim;
|
||||
copilot-lua = unstablePkgs.vimPlugins.copilot-lua;
|
||||
})
|
||||
];
|
||||
programs = with pkgs; {
|
||||
@ -149,6 +150,7 @@ ${builtins.readFile ./init.lua}
|
||||
EOF";
|
||||
packages.myVimPackage = {
|
||||
start = (with pkgs.vimPlugins; [
|
||||
copilot-lua
|
||||
avante-nvim
|
||||
vim-sile
|
||||
nvim-tree-lua
|
||||
|
@ -668,11 +668,12 @@ dap.configurations.cs = {
|
||||
},
|
||||
}
|
||||
|
||||
require('copilot').setup();
|
||||
|
||||
require('avante').setup ({
|
||||
provider = "openai",
|
||||
provider = "copilot",
|
||||
openai = {
|
||||
endpoint = "https://api.openai.com/v1",
|
||||
model = "gpt-4o", -- your desired model (or use gpt-4o, etc.)
|
||||
model = "Claude Sonnet 3.7", -- your desired model (or use gpt-4o, etc.)
|
||||
timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models
|
||||
temperature = 0,
|
||||
max_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models)
|
||||
|
Loading…
x
Reference in New Issue
Block a user