π OpenHands: AI-Driven Development
Remove unused WORK_HOSTS_SKILL_FOOTER (#12594)
Chris Bagwellfe4c0569f7ec
diff --git a/openhands/app_server/app_conversation/skill_loader.py b/openhands/app_server/app_conversation/skill_loader.pyindex 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."""