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 {
|
||||
{
|
||||
'olimorris/codecompanion.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
opts = {
|
||||
adapters = {
|
||||
http = {
|
||||
anthropic = function()
|
||||
return require('codecompanion.adapters').extend('anthropic', {
|
||||
env = {
|
||||
api_key = os.getenv 'ANTHROPIC_API_KEY',
|
||||
model = 'claude-sonnet-4-20250514',
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
strategies = {
|
||||
chat = { adapter = 'anthropic' },
|
||||
inline = { adapter = 'anthropic' },
|
||||
agent = { adapter = 'anthropic' },
|
||||
},
|
||||
display = {
|
||||
action_palette = {
|
||||
provider = 'snacks',
|
||||
opts = {
|
||||
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?
|
||||
title = 'CodeCompanion actions', -- The title of the action palette
|
||||
},
|
||||
},
|
||||
},
|
||||
-- NOTE: The log_level is in `opts.opts`
|
||||
opts = {
|
||||
log_level = 'DEBUG', -- or "TRACE"
|
||||
},
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- 'olimorris/codecompanion.nvim',
|
||||
-- dependencies = {
|
||||
-- 'nvim-lua/plenary.nvim',
|
||||
-- 'nvim-treesitter/nvim-treesitter',
|
||||
-- },
|
||||
-- opts = {
|
||||
-- adapters = {
|
||||
-- http = {
|
||||
-- anthropic = function()
|
||||
-- return require('codecompanion.adapters').extend('anthropic', {
|
||||
-- env = {
|
||||
-- api_key = os.getenv 'ANTHROPIC_API_KEY',
|
||||
-- model = 'claude-sonnet-4-20250514',
|
||||
-- },
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
-- },
|
||||
-- strategies = {
|
||||
-- chat = { adapter = 'anthropic' },
|
||||
-- inline = { adapter = 'anthropic' },
|
||||
-- agent = { adapter = 'anthropic' },
|
||||
-- },
|
||||
-- display = {
|
||||
-- action_palette = {
|
||||
-- provider = 'snacks',
|
||||
-- opts = {
|
||||
-- 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?
|
||||
-- title = 'CodeCompanion actions', -- The title of the action palette
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- -- NOTE: The log_level is in `opts.opts`
|
||||
-- opts = {
|
||||
-- log_level = 'DEBUG', -- or "TRACE"
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- Codium:
|
||||
-- {
|
||||
-- 'Exafunction/windsurf.nvim',
|
||||
|
|
|
|||
Loading…
Reference in New Issue