We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da6b51a commit 87f4520Copy full SHA for 87f4520
1 file changed
lua/vectorcode/integrations/codecompanion/prompts/init.lua
@@ -1,9 +1,8 @@
1
local M = {}
2
3
local vc_config = require("vectorcode.config")
4
-local cc_common = require("vectorcode.integrations.codecompanion.common")
+
5
local utils = require("vectorcode.utils")
6
-local constants = require("codecompanion.config").config.constants
7
8
---@param path string[]|string path to files or wildcards.
9
---@param project_root? string
@@ -59,7 +58,10 @@ function M.register_prompt(opts)
59
58
60
assert(type(opts.name) == "string", "`name` cannot be `nil`.")
61
+ local cc_common = require("vectorcode.integrations.codecompanion.common")
62
+ local constants = require("codecompanion.config").config.constants
63
local prompts = {}
64
65
if opts.system_prompt then
66
table.insert(
67
prompts,
0 commit comments