From 496846e819cdbde6108f4031a5ee746aba11b2ad Mon Sep 17 00:00:00 2001 From: hiyouga Date: Thu, 15 Jun 2023 14:36:55 +0800 Subject: [PATCH] fix bug in template vanilla Former-commit-id: 9b51e44c95af116aec34e7b6495935420f7c6c27 --- src/utils/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/template.py b/src/utils/template.py index 5354f32a..1179a0c8 100644 --- a/src/utils/template.py +++ b/src/utils/template.py @@ -15,7 +15,7 @@ class Template: """ self._register_template( prefix="", - prompt="", + prompt="{query}", sep="", use_history=False )