The jinja2 template contains a bug

#18
by oobabooga - opened

See this comment:

https://github.com/oobabooga/text-generation-webui/issues/7179#issuecomment-3161911124

Where the template says

{%- if builtin_tools is defined %}

it should be

{%- if builtin_tools %}

otherwise the Jinja2 Python library fails to render with the template with error

TypeError: 'NoneType' object is not iterable

when passing builtin_tools=None. This bug makes the quants here unusable in text-generation-webui.

Unsloth AI org

Thanks for letting us know, we already fixed it yesterday @oobabooga @underlines :)

shimmyshimmer changed discussion status to closed

Sign up or log in to comment