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