You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm passing raw markdown into the prompt, I didn't expect that markdown to be parsed by jinja because I'm not using that feature.
I wasn't aware of it until I ran into a jinja templating error because the markdown I was running had jinja template parameters in it.
Describe the solution you'd like
If there is no context dictionary passed, then there isn't any need to look for jinja template information.
If they want to pass a Jinja template but don't need any context, they can pass an empty dict.
This just makes it so that the user isn't using the feature unless they opt in.
Describe alternatives you've considered
The other option is sanitizing the input for jinja template parameters... or explicitly passing input as a trivial jinja template ({{input}}), which is kinda annoying.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm passing raw markdown into the prompt, I didn't expect that markdown to be parsed by jinja because I'm not using that feature.
I wasn't aware of it until I ran into a jinja templating error because the markdown I was running had jinja template parameters in it.
Describe the solution you'd like
If there is no context dictionary passed, then there isn't any need to look for jinja template information.
If they want to pass a Jinja template but don't need any context, they can pass an empty dict.
This just makes it so that the user isn't using the feature unless they opt in.
Describe alternatives you've considered
The other option is sanitizing the input for jinja template parameters... or explicitly passing input as a trivial jinja template (
{{input}}
), which is kinda annoying.The text was updated successfully, but these errors were encountered: