You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add generic fallback to detect trailing <think> tags in Jinja templates and handle forced-open reasoning blocks
- Detect trailing <think> tags in generic chat templates, trim whitespace, and either append
the closing tag or mark the reasoning block as forced-open based on enable_thinking
- Added a regression test covering a fallback template that opens the reasoning block in the
prompt and verifies prompt differences, forced-open behaviour, and reasoning parsing
- Now compatible with models using the default Jinja chat template, such as
https://huggingface.co/unsloth/GLM-Z1-32B-0414-GGUF
0 commit comments