]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Add Jinja support for "indent" string filter (#19529)
authorPiotr Wilkin (ilintar) <redacted>
Wed, 18 Feb 2026 23:25:52 +0000 (00:25 +0100)
committerGitHub <redacted>
Wed, 18 Feb 2026 23:25:52 +0000 (00:25 +0100)
commit8a70973557ff2605dada63f0dd2c08aa1cfcceb2
tree2f77c4b8c549c9793a5df8e7e66cb01a7e47f5ab
parente7f2f95c9a6d103d13bf25a1a2227ba8e51052b2
Add Jinja support for "indent" string filter (#19529)

* Add partial Jinja support for "indent" string filter

* Fully implement indent

* Add tests for all width variants.

* Update tests/test-jinja.cpp

Co-authored-by: Sigbjørn Skjæret <redacted>
* Fix getline ignoring trailing newlines

* Update common/jinja/value.cpp

Co-authored-by: Sigbjørn Skjæret <redacted>
* fix first indent condition

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
common/jinja/value.cpp
tests/test-jinja.cpp