chat template error

#10
by mohjamwong - opened

When i try to use it on pi-coding-agent, it has error

While executing BinaryExpression at line 94, column 14 in source:  ...NTEGER ---------------- #}
   {%- elif ty in ["number", "integer"] -%}
             ^  Error: Cannot perform operation on null values

i'm using this as a temp fix

{%- elif (ty | default("")) in ["number", "integer"] -%}

Sign up or log in to comment