From e3efa29cf5988429c198dfd4024e0a8122f76fe1 Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Fri, 11 Oct 2024 11:11:19 +0700 Subject: [PATCH] fix: test --- tests/prompt_strategies/test_chat_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/prompt_strategies/test_chat_templates.py b/tests/prompt_strategies/test_chat_templates.py index 920f31ef4..7a5582ddc 100644 --- a/tests/prompt_strategies/test_chat_templates.py +++ b/tests/prompt_strategies/test_chat_templates.py @@ -73,7 +73,7 @@ class TestAssistantChatTemplateLlama3: strategy = ChatTemplateStrategy( ChatTemplatePrompter( llama3_tokenizer, - chat_templates("llama3"), + chat_template=get_chat_template("llama3"), message_field_role="role", message_field_content="content", roles={