In latest tabbyApi v1/chat/completions call fail due to jinja ensure_ascii error

#1
by zmarty - opened

Error: TypeError: do_tojson() got an unexpected keyword argument 'ensure_ascii'

Partial fix?

sed -i '7s/tojson(ensure_ascii=False)/tojson/'   /models/exl3/turboderp-MiniMax-M2-exl3-3.04bpw/chat_template.jinja
sed -i '114s/tojson(ensure_ascii=False)/tojson/'   /models/exl3/turboderp-MiniMax-M2-exl3-3.04bpw/chat_template.jinja

yeah, tabbyAPI doesnt support ensure_ascii=False, so you need to remove it.

Sign up or log in to comment