Skip to content

Commit c1c31ef

Browse files
Fix package configuration to include Jinja2 template files
- Add package-data configuration to include *.j2 files - This ensures prompt templates are included in the package distribution - Fixes missing system_prompt.j2 error when using CodeActAgent Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 37749a5 commit c1c31ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openhands/core/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ build-backend = "setuptools.build_meta"
2020
where = ["../.."]
2121
include = ["openhands*"]
2222

23+
[tool.setuptools.package-data]
24+
"*" = ["*.j2"]
25+

0 commit comments

Comments
 (0)