Qwen3's template relies on some operators that aren't currently supported:
[::-1]: Slicing doesn't seem to be supported by Jinja2 in the first place. I opened a PR to switch to the reverse filter. If it's accepted, there would still be a need to implement it here, but it shouldn't be too hard.
- The following python string methods:
.split()
.strip()
.rstrip()
.lstrip()
.startswith()
.endswith()
Qwen3's template relies on some operators that aren't currently supported:
[::-1]: Slicing doesn't seem to be supported by Jinja2 in the first place. I opened a PR to switch to thereversefilter. If it's accepted, there would still be a need to implement it here, but it shouldn't be too hard..split().strip().rstrip().lstrip().startswith().endswith()