fix: missing breakline in context prompt template (#690)

This commit is contained in:
yetone 2024-10-08 17:43:21 +08:00 committed by GitHub
parent 895b0f4143
commit e78f5b28a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{%- if use_xml_format -%}
<filepath>{{filepath}}</filepath>
{%- if selected_code -%}
{% if selected_code -%}
<context>
```{{code_lang}}
{{file_content}}
@ -23,7 +23,7 @@
{% else %}
FILEPATH: {{filepath}}
{%- if selected_code -%}
{% if selected_code -%}
CONTEXT:
```{{code_lang}}
{{file_content}}