Anyone experiencing liquidJS not rendered properly...
# office-hours
n
Anyone experiencing liquidJS not rendered properly in the system prompt? I have this in the sys prompt:
Copy code
- Current date: {{ "now" | date: "%B %d, %Y", "Australia/Sydney" }}
- Day of the week: {{ "now" | date: "%A", "Australia/Sydney" }}
- Current time: {{ "now" | date: "%I:%M %p", "Australia/Sydney" }}
and when I call the number, check the Model logs, found that
attributes.request.messages
is rendering it as
Current date: \n- Day of the week: \n- Current time: \n
I have checked on the [LiquidJS Playground](https://liquidjs.com/playground.html#LSBDdXJyZW50IGRhdGU6IHt7ICJub3ciIHwgZGF0ZTogIiVCICVkLCAlWSIsICJBdXN0cmFsaWEvU3lkbmV5IiB9fQotIERheSBvZiB0aGUgd2Vlazoge3sgIm5vdyIgfCBkYXRlOiAiJUEiLCAiQXVzdHJhbGlhL1N5ZG5leSIgfX0KLSBDdXJyZW50IHRpbWU6IHt7ICJub3ciIHwgZGF0ZTogIiVJOiVNICVwIiwgIkF1c3RyYWxpYS9TeWRuZXkiIH19,ewp9Cg==) and it rendered properly