fix: match Transformers `tojson` in chat template rendering (#1486)
* Render chat template tojson filter as unicode * replace tojson with custom filter * add indent parameter * add break, continue and strftime * renamed to strftime_now * add separators and sort_keys plus import fix * allow ensure_ascii parameter as a few templates are using it now --------- Co-authored-by: abetlen <abetlen@gmail.com>
S
Sigbjørn Skjæret committed
84bc143b3755d04e7552019d93c1532f9baf0428
Parent: 5848020
Committed by GitHub <noreply@github.com>
on 6/1/2026, 1:54:07 AM