mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-28 03:30:10 +00:00
bugfix: TemplateNotFound on windows (#1185)
Co-authored-by: Shuchang Zheng <shu@skyvern.com>
This commit is contained in:
parent
e656f1add6
commit
2c81875baf
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class PromptEngine:
|
|||
str: The populated template.
|
||||
"""
|
||||
try:
|
||||
template = os.path.join(self.model, template)
|
||||
template = "/".join([self.model, template])
|
||||
jinja_template = self.env.get_template(f"{template}.j2")
|
||||
return jinja_template.render(**kwargs)
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue