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: Fall back to flat prompt when model's Jinja chat template fails
Models like Mistral 7B use Jinja features not yet supported by
swift-jinja. chatCompletion() now catches TemplateException and
retries with a flat User:/Assistant: prompt format so generation
succeeds regardless of the model's tokenizer template complexity.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
0 commit comments