You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openhands-agent-server/openhands/agent_server/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ The server can be configured using environment variables or a JSON configuration
54
54
|`OPENHANDS_AGENT_SERVER_CONFIG_PATH`| Path to JSON configuration file |`workspace/openhands_agent_server_config.json`|
55
55
|`SESSION_API_KEY`| API key for authentication (optional) | None |
56
56
|`OH_SECRET_KEY`| Secret key for encrypting sensitive data (LLM API keys, secrets) in stored conversations. **Required for persistence across restarts.**| None |
57
+
|`OH_ALLOW_CORS_ORIGIN_REGEX`| Regular expression for additional allowed CORS origins. Use `https?://.+` to allow any HTTP(S) origin while echoing the concrete origin. | None |
-**`session_api_key`**: Optional API key for securing the server. If set, all requests must include this key in the `Authorization` header as `Bearer <key>`
85
87
-**`allow_cors_origins`**: List of allowed CORS origins (localhost is always allowed)
88
+
-**`allow_cors_origin_regex`**: Regular expression for additional allowed CORS origins. Use `https?://.+` to allow any HTTP(S) origin while keeping credential-compatible origin echoing.
86
89
-**`webhooks`**: Array of webhook configurations for event notifications
87
90
88
91
**Note**: Directory configuration (`working_dir`) will be handled at the conversation level rather than globally. These directories are specified when starting a conversation through the API.
0 commit comments