Closed jscheel closed 11 months ago
I should say that the obvious solution is to call the function when you pass in the values. But ideally this would still behave.
Please check out our new release, where tool use is way better. Sorry it took us so long to get to it!
@marcotcr awesome news!
The bug Handlebars helpers can be called without passing in arguments. However Guidance does not respect this as will instead pass the string representation of the function.
To Reproduce
Expected Behavior
- Say the year "{{current_year}}" in roman numerals.
Actual Behavior
- Say the year "<function current_year at 0x1253672e0>" in roman numerals.
System info (please complete the following information):
guidance.__version__
): 0.0.64