Skip to content

Commit 102e3d3

Browse files
authored
renamed to strftime_now
1 parent 63b9976 commit 102e3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama_chat_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def __init__(
214214
extensions=[jinja2.ext.loopcontrols],
215215
)
216216
environment.filters["tojson"] = lambda x, indent=None: json.dumps(x, indent=indent, ensure_ascii=False)
217-
environment.globals["strftime"] = lambda format: datetime.now().strftime(format)
217+
environment.globals["strftime_now"] = lambda format: datetime.now().strftime(format)
218218
self._environment = environment.from_string(self.template)
219219

220220
def __call__(

0 commit comments

Comments
 (0)