Skip to content

Commit

Permalink
fix: place the project context and memory context at the forefront (#619
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yetone authored Sep 23, 2024
1 parent 8e1018f commit 5aec0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/avante/llm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5aec0ba

Please sign in to comment.