Comment out vectorcode
This commit is contained in:
@@ -36,12 +36,12 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require('nvim_aider').setup({
|
require('nvim_aider').setup {
|
||||||
aider_cmd = 'aider',
|
aider_cmd = 'aider',
|
||||||
args = {
|
args = {
|
||||||
'--config=$HOME/.config/aider/aider.yaml',
|
'--config=$HOME/.config/aider/aider.yaml',
|
||||||
'--no-auto-commits',
|
'--no-auto-commits',
|
||||||
'--env-file=$(pwd)/.aider.env'
|
'--env-file=$(pwd)/.aider.env',
|
||||||
},
|
},
|
||||||
auto_reload = true,
|
auto_reload = true,
|
||||||
win = {
|
win = {
|
||||||
@@ -49,6 +49,6 @@ return {
|
|||||||
style = 'nvim_aider',
|
style = 'nvim_aider',
|
||||||
position = 'bottom',
|
position = 'bottom',
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,13 +67,13 @@ return {
|
|||||||
chat = {
|
chat = {
|
||||||
adapter = 'gpt',
|
adapter = 'gpt',
|
||||||
slash_commands = {
|
slash_commands = {
|
||||||
codebase = require('vectorcode.integrations').codecompanion.chat.make_slash_command(),
|
-- codebase = require('vectorcode.integrations').codecompanion.chat.make_slash_command(),
|
||||||
},
|
},
|
||||||
tools = {
|
tools = {
|
||||||
vectorcode = {
|
-- vectorcode = {
|
||||||
description = 'Run VectorCode to retrieve the project context.',
|
-- description = 'Run VectorCode to retrieve the project context.',
|
||||||
callback = require('vectorcode.integrations').codecompanion.chat.make_tool(),
|
-- callback = require('vectorcode.integrations').codecompanion.chat.make_tool(),
|
||||||
},
|
-- },
|
||||||
['cmd_runner'] = {
|
['cmd_runner'] = {
|
||||||
opts = {
|
opts = {
|
||||||
requires_approval = false,
|
requires_approval = false,
|
||||||
@@ -191,22 +191,12 @@ When given a task:
|
|||||||
strategy = 'chat',
|
strategy = 'chat',
|
||||||
description = 'A personal Games Master Assistant.',
|
description = 'A personal Games Master Assistant.',
|
||||||
opts = {
|
opts = {
|
||||||
mapping = '<Leader>cd',
|
|
||||||
modes = { 'n' },
|
|
||||||
short_name = 'gm',
|
|
||||||
auto_submit = false,
|
|
||||||
stop_context_insertion = false,
|
|
||||||
user_prompt = false,
|
user_prompt = false,
|
||||||
is_default = true,
|
|
||||||
adapter = {
|
|
||||||
temperature = 1,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
prompts = {
|
prompts = {
|
||||||
{
|
{
|
||||||
role = 'system',
|
role = 'system',
|
||||||
content = function(context)
|
content = [[
|
||||||
return [[
|
|
||||||
You are a personal Games Master Assistant. You are currently plugged in to the Neovim text editor on a user's machine.
|
You are a personal Games Master Assistant. You are currently plugged in to the Neovim text editor on a user's machine.
|
||||||
|
|
||||||
Your core tasks include:
|
Your core tasks include:
|
||||||
@@ -239,17 +229,11 @@ When given a task:
|
|||||||
1. Consider the existing world and characters. Use tools to gather information that may be relevant.
|
1. Consider the existing world and characters. Use tools to gather information that may be relevant.
|
||||||
2. Provide exactly one complete reply per conversation turn.
|
2. Provide exactly one complete reply per conversation turn.
|
||||||
3. If necessary, execute multiple tools in a single turn.
|
3. If necessary, execute multiple tools in a single turn.
|
||||||
]]
|
]],
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
role = 'user',
|
role = 'user',
|
||||||
content = function(context)
|
content = '',
|
||||||
return ''
|
|
||||||
end,
|
|
||||||
opts = {
|
|
||||||
contains_code = false,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -363,7 +347,7 @@ We'll repeat this cycle until there are no errors. Ensure no deviations from the
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
'nvim-lua/plenary.nvim',
|
'nvim-lua/plenary.nvim',
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
'Davidyz/VectorCode',
|
-- 'Davidyz/VectorCode',
|
||||||
'ravitemer/mcphub.nvim',
|
'ravitemer/mcphub.nvim',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
require('helpers').edit_cf('pv', '/lua/plugins/vectorcode.lua')
|
require('helpers').edit_cf('pv', '/lua/plugins/vectorcode.lua')
|
||||||
return {
|
|
||||||
'Davidyz/VectorCode',
|
return {}
|
||||||
version = '*', -- optional, depending on whether you're on nightly or release
|
-- return {
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
-- 'Davidyz/VectorCode',
|
||||||
build = 'pipx upgrade vectorcode',
|
-- version = '*', -- optional, depending on whether you're on nightly or release
|
||||||
cmd = 'VectorCode', -- if you're lazy-loading VectorCode
|
-- dependencies = { 'nvim-lua/plenary.nvim' },
|
||||||
opts = {
|
-- build = 'pipx upgrade vectorcode',
|
||||||
async_backend = 'lsp',
|
-- cmd = 'VectorCode', -- if you're lazy-loading VectorCode
|
||||||
},
|
-- opts = {
|
||||||
}
|
-- async_backend = 'lsp',
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
|||||||
Reference in New Issue
Block a user