From fe4c0569f7ec8ea2cfb87dfee892e6be9f5d2840 Mon Sep 17 00:00:00 2001 From: Chris Bagwell Date: Wed, 18 Mar 2026 09:57:23 -0500 Subject: [PATCH] Remove unused WORK_HOSTS_SKILL_FOOTER (#12594) --- .../app_server/app_conversation/skill_loader.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/openhands/app_server/app_conversation/skill_loader.py b/openhands/app_server/app_conversation/skill_loader.py index 3638c6e681..d5976aedac 100644 --- a/openhands/app_server/app_conversation/skill_loader.py +++ b/openhands/app_server/app_conversation/skill_loader.py @@ -33,21 +33,6 @@ class ExposedUrlConfig(BaseModel): port: int -WORK_HOSTS_SKILL_FOOTER = """ -When starting a web server, use the corresponding ports via environment variables: -- $WORKER_1 for the first port -- $WORKER_2 for the second port - -**CRITICAL: You MUST enable CORS and bind to 0.0.0.0.** Without CORS headers, the App tab cannot detect your server and will show an empty state. - -Example (Flask): -```python -from flask_cors import CORS -CORS(app) -app.run(host='0.0.0.0', port=int(os.environ.get('WORKER_1', 12000))) -```""" - - class SandboxConfig(BaseModel): """Sandbox configuration for agent-server API request."""