comment out avante and codecompanion
This commit is contained in:
parent
14a444237b
commit
f440b58b5d
|
|
@ -0,0 +1,54 @@
|
||||||
|
return {}
|
||||||
|
-- return {
|
||||||
|
-- {
|
||||||
|
-- 'yetone/avante.nvim',
|
||||||
|
-- -- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
||||||
|
-- -- ⚠️ must add this setting! ! !
|
||||||
|
-- build = vim.fn.has 'win32' ~= 0 and 'powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false' or 'make',
|
||||||
|
-- event = 'VeryLazy',
|
||||||
|
-- version = false, -- Never set this value to "*"! Never!
|
||||||
|
-- opts = {
|
||||||
|
-- -- add any opts here
|
||||||
|
-- -- this file can contain specific instructions for your project
|
||||||
|
-- instructions_file = 'avante.md',
|
||||||
|
-- selection = {
|
||||||
|
-- enabled = false,
|
||||||
|
-- },
|
||||||
|
-- selector = {
|
||||||
|
-- provider = 'snacks',
|
||||||
|
-- },
|
||||||
|
-- input = {
|
||||||
|
-- provider = 'snacks',
|
||||||
|
-- provider_opts = {
|
||||||
|
-- title = 'Avante Input',
|
||||||
|
-- icon = ' ',
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- -- for example
|
||||||
|
-- provider = 'claude',
|
||||||
|
-- providers = {
|
||||||
|
-- claude = {
|
||||||
|
-- endpoint = 'https://api.anthropic.com',
|
||||||
|
-- model = 'claude-sonnet-4-20250514',
|
||||||
|
-- timeout = 30000, -- Timeout in milliseconds
|
||||||
|
-- extra_request_body = {
|
||||||
|
-- temperature = 0.75,
|
||||||
|
-- max_tokens = 20480,
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- dependencies = {
|
||||||
|
-- 'nvim-lua/plenary.nvim',
|
||||||
|
-- 'MunifTanjim/nui.nvim',
|
||||||
|
-- 'folke/snacks.nvim',
|
||||||
|
-- {
|
||||||
|
-- 'MeanderingProgrammer/render-markdown.nvim',
|
||||||
|
-- opts = {
|
||||||
|
-- file_types = { 'markdown', 'Avante' },
|
||||||
|
-- },
|
||||||
|
-- ft = { 'markdown', 'Avante' },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
|
@ -1,44 +1,44 @@
|
||||||
return {
|
return {
|
||||||
{
|
-- {
|
||||||
'olimorris/codecompanion.nvim',
|
-- 'olimorris/codecompanion.nvim',
|
||||||
dependencies = {
|
-- dependencies = {
|
||||||
'nvim-lua/plenary.nvim',
|
-- 'nvim-lua/plenary.nvim',
|
||||||
'nvim-treesitter/nvim-treesitter',
|
-- 'nvim-treesitter/nvim-treesitter',
|
||||||
},
|
-- },
|
||||||
opts = {
|
-- opts = {
|
||||||
adapters = {
|
-- adapters = {
|
||||||
http = {
|
-- http = {
|
||||||
anthropic = function()
|
-- anthropic = function()
|
||||||
return require('codecompanion.adapters').extend('anthropic', {
|
-- return require('codecompanion.adapters').extend('anthropic', {
|
||||||
env = {
|
-- env = {
|
||||||
api_key = os.getenv 'ANTHROPIC_API_KEY',
|
-- api_key = os.getenv 'ANTHROPIC_API_KEY',
|
||||||
model = 'claude-sonnet-4-20250514',
|
-- model = 'claude-sonnet-4-20250514',
|
||||||
},
|
-- },
|
||||||
})
|
-- })
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
strategies = {
|
-- strategies = {
|
||||||
chat = { adapter = 'anthropic' },
|
-- chat = { adapter = 'anthropic' },
|
||||||
inline = { adapter = 'anthropic' },
|
-- inline = { adapter = 'anthropic' },
|
||||||
agent = { adapter = 'anthropic' },
|
-- agent = { adapter = 'anthropic' },
|
||||||
},
|
-- },
|
||||||
display = {
|
-- display = {
|
||||||
action_palette = {
|
-- action_palette = {
|
||||||
provider = 'snacks',
|
-- provider = 'snacks',
|
||||||
opts = {
|
-- opts = {
|
||||||
show_default_actions = true, -- Show the default actions in the action palette?
|
-- show_default_actions = true, -- Show the default actions in the action palette?
|
||||||
show_default_prompt_library = true, -- Show the default prompt library in the action palette?
|
-- show_default_prompt_library = true, -- Show the default prompt library in the action palette?
|
||||||
title = 'CodeCompanion actions', -- The title of the action palette
|
-- title = 'CodeCompanion actions', -- The title of the action palette
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
-- NOTE: The log_level is in `opts.opts`
|
-- -- NOTE: The log_level is in `opts.opts`
|
||||||
opts = {
|
-- opts = {
|
||||||
log_level = 'DEBUG', -- or "TRACE"
|
-- log_level = 'DEBUG', -- or "TRACE"
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
-- Codium:
|
-- Codium:
|
||||||
-- {
|
-- {
|
||||||
-- 'Exafunction/windsurf.nvim',
|
-- 'Exafunction/windsurf.nvim',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue