fix: place the project context and memory context at the forefront (#619)

This commit is contained in:
yetone 2024-09-23 19:09:04 +08:00 committed by GitHub
parent 8e1018fef7
commit 5aec0ba48b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,9 +76,9 @@ M.stream = function(opts)
local user_prompts = vim
.iter({
Path.prompts.render_file("_context.avanterules", template_opts),
Path.prompts.render_file("_project.avanterules", template_opts),
Path.prompts.render_file("_memory.avanterules", template_opts),
Path.prompts.render_file("_context.avanterules", template_opts),
Path.prompts.render_mode(mode, template_opts),
})
:filter(function(k) return k ~= "" end)