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

View File

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