mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-19 00:17:31 +00:00
[Jinja] Fix typo in Phi-3.1-mini-128k-instruct replacement template (#3412)
Signed-off-by: ThiloteE <73715071+ThiloteE@users.noreply.github.com> Signed-off-by: Jared Van Bortel <jared@nomic.ai> Co-authored-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
0d974297a5
commit
88f5dac133
@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|||||||
- Don't show system messages in server chat view ([#3411](https://github.com/nomic-ai/gpt4all/pull/3411))
|
- Don't show system messages in server chat view ([#3411](https://github.com/nomic-ai/gpt4all/pull/3411))
|
||||||
- Fix `codesign --verify` failure on macOS ([#3413](https://github.com/nomic-ai/gpt4all/pull/3413))
|
- Fix `codesign --verify` failure on macOS ([#3413](https://github.com/nomic-ai/gpt4all/pull/3413))
|
||||||
- Code Interpreter: Fix console.log not accepting a single string after v3.7.0 ([#3426](https://github.com/nomic-ai/gpt4all/pull/3426))
|
- Code Interpreter: Fix console.log not accepting a single string after v3.7.0 ([#3426](https://github.com/nomic-ai/gpt4all/pull/3426))
|
||||||
|
- Fix Phi 3.1 Mini 128K Instruct template (by [@ThiloteE](https://github.com/ThiloteE) in [#3412](https://github.com/nomic-ai/gpt4all/pull/3412))
|
||||||
|
|
||||||
## [3.7.0] - 2025-01-21
|
## [3.7.0] - 2025-01-21
|
||||||
|
|
||||||
|
@ -626,7 +626,7 @@ const std::unordered_map<std::string_view, std::string_view> CHAT_TEMPLATE_SUBST
|
|||||||
// replacement
|
// replacement
|
||||||
R"TEMPLATE({%- for message in messages %}
|
R"TEMPLATE({%- for message in messages %}
|
||||||
{%- if message['role'] == 'system' %}
|
{%- if message['role'] == 'system' %}
|
||||||
{{-'<|system|>\n' + message['content'] + '<|end|>\n'}}
|
{{- '<|system|>\n' + message['content'] + '<|end|>\n' }}
|
||||||
{%- elif message['role'] == 'user' %}
|
{%- elif message['role'] == 'user' %}
|
||||||
{{- '<|user|>\n' + message['content'] + '<|end|>\n' }}
|
{{- '<|user|>\n' + message['content'] + '<|end|>\n' }}
|
||||||
{%- elif message['role'] == 'assistant' %}
|
{%- elif message['role'] == 'assistant' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user