transformers
Fix `continue_final_message` in `apply_chat_template` to prevent substring matching issues
#40732
Merged

Fix `continue_final_message` in `apply_chat_template` to prevent substring matching issues #40732

abdokaseb
abdokaseb Fix continue_final_message parameter in apply_chat_template
01e45698
abdokaseb after run fixup
bed56dc1
abdokaseb Merge branch 'main' into fix_continue_final_message
4a43532a
abdokaseb
abdokaseb Handle trim in the template
e064b287
abdokaseb Merge branch 'fix_continue_final_message' of https://github.com/abdok…
1c9c2049
abdokaseb after fixup
5888485e
abdokaseb
usepr
abdokaseb
Rocketknight1
Rocketknight1 approved these changes on 2025-09-08
Rocketknight1 Update src/transformers/utils/chat_template_utils.py
8e177940
Rocketknight1 Rocketknight1 enabled auto-merge (squash) 1 year ago
Rocketknight1 Rocketknight1 merged 5a468e56 into main 1 year ago
HuggingFaceDocBuilderDev

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone