From a720bec003821dbf27e41c5b635620b52d44d979 Mon Sep 17 00:00:00 2001 From: Matous Havlena Date: Fri, 13 Sep 2024 20:32:08 +0200 Subject: [PATCH] fix(llama-3-1): add trailing new line --- src/adapters/shared/llmChatTemplates.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/adapters/shared/llmChatTemplates.ts b/src/adapters/shared/llmChatTemplates.ts index 0c60d510..d3ca4d59 100644 --- a/src/adapters/shared/llmChatTemplates.ts +++ b/src/adapters/shared/llmChatTemplates.ts @@ -70,6 +70,7 @@ const llama31: LLMChatTemplate = { {{assistant}}<|eot_id|>{{/assistant}}{{#ipython}}<|start_header_id|>ipython<|end_header_id|> {{ipython}}<|eot_id|>{{/ipython}}{{/messages}}<|start_header_id|>assistant<|end_header_id|> + `, }), messagesToPrompt: messagesToPromptFactory({ ipython: "ipython" }),