Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Add support for .openhands/setup.sh script in all entry points (#7459)

Engel Nyst0f143a43c968
diff --git a/openhands/core/setup.py b/openhands/core/setup.py
index 9137e7a70f..b1491c9911 100644
--- a/openhands/core/setup.py
+++ b/openhands/core/setup.py
@@ -122,6 +122,8 @@ def initialize_repository_for_runtime(
selected_repository,
None,
)
+ # Run setup script if it exists
+ runtime.maybe_run_setup_script()
return repo_directory