You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot use o1 from github copilot.
I ithink that CopilotChat.nvim, which probably uses api.githubcopilot.com, can use o1, and hence, it may also be possible to use it in avante.nvim.
Could you please confirm?
To reproduce
setting
require("avante").setup({
provider="copilot",
copilot= {
endpoint="https://api.githubcopilot.com/",
model="o1",
-- claude can use with avante-- model = "claude-3.5-sonnet", proxy=nil, -- [protocol://]host[:port] Use this proxyallow_insecure=false, -- Allow insecure server connectionstimeout=30000, -- Timeout in millisecondstemperature=0,
max_tokens=8192,
},
-- auto_suggestions_provider = "copilot",behaviour= {
auto_suggestions=false, -- Experimental stageauto_set_highlight_group=true,
auto_set_keymaps=false,
auto_apply_diff_after_generation=false,
support_paste_from_clipboard=true,
execute AvanteAsk
input text
execute avante
Expected behavior
Working avante with o1 model.
Installation method
Use lazy.nvim:
{
"yetone/avante.nvim",
event="VeryLazy",
lazy=false,
version=false, -- set this if you want to always pull the latest changeopts= {
-- add any opts here
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`build="make",
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windowsdependencies= {
"nvim-treesitter/nvim-treesitter",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
},
}
vim.env.LAZY_STDPATH=".repro"load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec= {
-- add any other plugins here
},
})
require("avante").setup({
provider="copilot",
copilot= {
endpoint="https://api.githubcopilot.com",
model="o1",
-- claude can use with avante-- model = "claude-3.5-sonnet", proxy=nil, -- [protocol://]host[:port] Use this proxyallow_insecure=false, -- Allow insecure server connectionstimeout=30000, -- Timeout in millisecondstemperature=0,
max_tokens=8192,
},
-- auto_suggestions_provider = "copilot",behaviour= {
auto_suggestions=false, -- Experimental stageauto_set_highlight_group=true,
auto_set_keymaps=false,
auto_apply_diff_after_generation=false,
support_paste_from_clipboard=true,
},
The text was updated successfully, but these errors were encountered:
Describe the bug
Cannot use o1 from github copilot.
I ithink that CopilotChat.nvim, which probably uses api.githubcopilot.com, can use o1, and hence, it may also be possible to use it in avante.nvim.
Could you please confirm?
To reproduce
setting
Expected behavior
Working avante with o1 model.
Installation method
Use lazy.nvim:
Environment
nvim: 0.10.2
OS: macOS
avante: latest
make: executed
Repro
The text was updated successfully, but these errors were encountered: