Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix: Runtime pods fail to start due to missing Playwright browser path (#12130)

Tim O'Farrell2b8f779b6561
diff --git a/enterprise/server/saas_nested_conversation_manager.py b/enterprise/server/saas_nested_conversation_manager.py
index d92e67b9ff..59c6d4e981 100644
--- a/enterprise/server/saas_nested_conversation_manager.py
+++ b/enterprise/server/saas_nested_conversation_manager.py
@@ -804,6 +804,8 @@ class SaasNestedConversationManager(ConversationManager):
env_vars['ENABLE_V1'] = '0'
env_vars['SU_TO_USER'] = SU_TO_USER
env_vars['DISABLE_VSCODE_PLUGIN'] = str(DISABLE_VSCODE_PLUGIN).lower()
+ env_vars['BROWSERGYM_DOWNLOAD_DIR'] = '/workspace/.downloads/'
+ env_vars['PLAYWRIGHT_BROWSERS_PATH'] = '/opt/playwright-browsers'
# We need this for LLM traces tracking to identify the source of the LLM calls
env_vars['WEB_HOST'] = WEB_HOST