Skip to content

Conversation

benglewis
Copy link
Contributor

See this issue for why people may want this:
#1525

@benglewis
Copy link
Contributor Author

@Rocketknight1 I'd be glad if you can review this and consider merging it :)

@Rocketknight1
Copy link
Member

This looks like it's using huggingface/jinja, so cc @xenova, but feel free to ask me if you want me to comment on any of the higher-level chat template stuff!

Copy link
Contributor

@xenova xenova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usage looks good to me!

@nsarrazin
Copy link
Contributor

Thanks for the PR! I'll be testing it locally to make sure everything works but looks good like this 😄

@benglewis
Copy link
Contributor Author

@nsarrazin Great! 🙌

@nsarrazin nsarrazin self-assigned this Mar 13, 2025
@nsarrazin nsarrazin merged commit 16e29d9 into huggingface:main Mar 14, 2025
3 checks passed
@nsarrazin
Copy link
Contributor

Thanks for the contribution! 😄

@benglewis benglewis deleted the add-jinja-support-for-templating branch March 14, 2025 14:05
maksym-work pushed a commit to siilats/chat-ui that referenced this pull request Jul 2, 2025
* Add support for Jinja for chat model templates

* feat(docs): improve docs regarding templates

---------

Co-authored-by: Nathan Sarrazin <[email protected]>
Matsenas pushed a commit to Matsenas/chat-ui that referenced this pull request Jul 4, 2025
* Add support for Jinja for chat model templates

* feat(docs): improve docs regarding templates

---------

Co-authored-by: Nathan Sarrazin <[email protected]>
Matsenas pushed a commit to Matsenas/chat-ui that referenced this pull request Jul 4, 2025
* Add support for Jinja for chat model templates

* feat(docs): improve docs regarding templates

---------

Co-authored-by: Nathan Sarrazin <[email protected]>
gary149 pushed a commit to gary149/chat-ui that referenced this pull request Aug 29, 2025
* Add support for Jinja for chat model templates

* feat(docs): improve docs regarding templates

---------

Co-authored-by: Nathan Sarrazin <[email protected]>
gary149 pushed a commit to gary149/chat-ui that referenced this pull request Aug 29, 2025
* Add support for Jinja for chat model templates

* feat(docs): improve docs regarding templates

---------

Co-authored-by: Nathan Sarrazin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants