Chat template still has an issue. It checks if messages[0] is string then assigns system_message = messages[0]['content']. It should check messages[0]['content'] is string instead.

This PR fixes that and simplifies a bit the conditional logic (in an equivalent way)

Mistral AI_ org

Thanks!

patrickvonplaten changed pull request status to merged

Scene 1: जंगल का परिचय

Top: "भूखी लोमड़ी जंगल में!"

Image: लोमड़ी अकेली जंगल में घूम रही है।

Bottom Text: "लोमड़ी को बहुत ज़ोरों की भूख लगी थी।"

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment