feat: load templates from cache and project directories (#2126)

This commit is contained in:
kyrisu
2025-06-03 20:24:53 +01:00
committed by GitHub
parent 1eaf2d50de
commit 4495ee6bcf
3 changed files with 44 additions and 11 deletions

View File

@@ -145,7 +145,7 @@ function M.generate_prompts(opts)
end
local project_root = Utils.root.get()
Path.prompts.initialize(Path.prompts.get_templates_dir(project_root))
Path.prompts.initialize(Path.prompts.get_templates_dir(project_root), project_root)
local tool_id_to_tool_name = {}
local tool_id_to_path = {}