awslabs / agent-evaluation

A generative AI-powered framework for testing virtual agents.
https://awslabs.github.io/agent-evaluation/
Apache License 2.0
90 stars 17 forks source link

Remove autoescaping for templates #33

Closed tonykchen closed 5 months ago

tonykchen commented 5 months ago

Issue #, if available:

Description of changes: Since our templates are packaged and won't be exposed to user input, we can disable autoescaping for the j2 and md extensions using select_autoescape .

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.