Skip to content

Commit

Permalink
fix: enable_async for jinja env
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Dec 5, 2024
1 parent c1660c7 commit 407ac2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llmling/processors/jinjaprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, jinja_settings: Jinja2Config | None = None) -> None:
jinja_filters = jinja_kwargs.pop("filters", {})
jinja_globals = jinja_kwargs.pop("globals", {})
jinja_tests = jinja_kwargs.pop("tests", {})
self._env = jinja2.Environment(**jinja_kwargs)
self._env = jinja2.Environment(**jinja_kwargs, enable_async=True)
self._env.filters = jinja_filters
self._env.globals = jinja_globals
self._env.tests = jinja_tests
Expand Down

0 comments on commit 407ac2e

Please sign in to comment.