Skip to content

Commit

Permalink
fix: missing breakline in context prompt template (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone authored Oct 8, 2024
1 parent 895b0f4 commit e78f5b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/avante/templates/_context.avanterules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- if use_xml_format -%}
<filepath>{{filepath}}</filepath>

{%- if selected_code -%}
{% if selected_code -%}
<context>
```{{code_lang}}
{{file_content}}
Expand All @@ -23,7 +23,7 @@
{% else %}
FILEPATH: {{filepath}}

{%- if selected_code -%}
{% if selected_code -%}
CONTEXT:
```{{code_lang}}
{{file_content}}
Expand Down

0 comments on commit e78f5b2

Please sign in to comment.