Remove unused WORK_HOSTS_SKILL_FOOTER (#12594)

This commit is contained in:
Chris Bagwell
2026-03-18 09:57:23 -05:00
committed by GitHub
parent 28ecf06404
commit fe4c0569f7

View File

@@ -33,21 +33,6 @@ class ExposedUrlConfig(BaseModel):
port: int 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): class SandboxConfig(BaseModel):
"""Sandbox configuration for agent-server API request.""" """Sandbox configuration for agent-server API request."""