mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-10 12:21:42 +00:00
Remove \n\n from controls and try other original
Signed-off-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com>
This commit is contained in:
parent
dd3dfa11a4
commit
b79df8ed33
@ -184,7 +184,7 @@ const std::unordered_map<std::string_view, std::string_view> CHAT_TEMPLATE_SUBST
|
||||
{%- if loop.last and add_generation_prompt %}
|
||||
{{- '<|start_of_role|>assistant' }}
|
||||
{%- if controls %}
|
||||
{{- '\n\n' + controls | tojson()}}
|
||||
{{- ' ' + controls | tojson()}}
|
||||
{%- endif %}
|
||||
{{- '<|end_of_role|>' }}
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user