Skip to content

Commit b466dcf

Browse files
Zhe YuDavidyz
authored andcommitted
fix(nvim)!: remove auto_submit for codecompanion because it's no longer needed
1 parent bbebe77 commit b466dcf

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

lua/vectorcode/integrations/codecompanion/common.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ local default_options = {
99
default_num = { chunk = 50, document = 10 },
1010
include_stderr = false,
1111
use_lsp = false,
12-
auto_submit = { ls = false, query = false },
1312
ls_on_start = false,
1413
no_duplicate = true,
1514
chunk_mode = false,

lua/vectorcode/integrations/codecompanion/func_calling_tool.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,6 @@ return check_cli_wrap(function(opts)
324324
)
325325
end
326326
end
327-
if opts.auto_submit[cmd.command] then
328-
agent.chat:submit()
329-
end
330327
end,
331328
},
332329
}

0 commit comments

Comments
 (0)