fix: include .jinja files in metadata transfer

chat_template.jinja is needed by transformers for chat formatting
(e.g., GLM-4.7-Flash stores its chat template there).

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Alex Cheema
2026-02-17 10:05:43 -08:00
co-authored by Claude Opus 4.6
parent 60b0ba2841
commit d0c0085f57
@@ -36,6 +36,7 @@ CHUNK_SIZE: Final[int] = 100 * 1024 * 1024 # 100 MB
_METADATA_EXTENSIONS: Final[frozenset[str]] = frozenset(
{
".json",
".jinja", # chat_template.jinja (used by transformers for chat formatting)
".txt",
".md",
".model", # sentencepiece tokenizer.model