diff --git a/openhands/core/config/agent_config.py b/openhands/core/config/agent_config.py index 43e430b879da..67fa4e9d8a5d 100644 --- a/openhands/core/config/agent_config.py +++ b/openhands/core/config/agent_config.py @@ -27,6 +27,6 @@ class AgentConfig(BaseModel): memory_enabled: bool = Field(default=False) memory_max_threads: int = Field(default=3) llm_config: str | None = Field(default=None) - enable_prompt_extensions: bool = Field(default=False) + enable_prompt_extensions: bool = Field(default=True) disabled_microagents: list[str] | None = Field(default=None) condenser: CondenserConfig = Field(default_factory=NoOpCondenserConfig) diff --git a/openhands/core/config/sandbox_config.py b/openhands/core/config/sandbox_config.py index 44bd7ee0afda..f5b984fec0b9 100644 --- a/openhands/core/config/sandbox_config.py +++ b/openhands/core/config/sandbox_config.py @@ -60,7 +60,7 @@ class SandboxConfig(BaseModel): runtime_startup_env_vars: dict[str, str] = Field(default_factory=dict) browsergym_eval_env: str | None = Field(default=None) platform: str | None = Field(default=None) - close_delay: int = Field(default=900) + close_delay: int = Field(default=15) remote_runtime_resource_factor: int = Field(default=1) enable_gpu: bool = Field(default=False) docker_runtime_kwargs: str | None = Field(default=None) diff --git a/openhands/utils/prompt.py b/openhands/utils/prompt.py index 1861c45308b5..1ffd4b8f117b 100644 --- a/openhands/utils/prompt.py +++ b/openhands/utils/prompt.py @@ -48,7 +48,8 @@ class RepositoryInfo: * {{ host }} (port {{ port }}) {% endfor %} When starting a web server, use the corresponding ports. You should also -set any options to allow iframes and CORS requests. +set any options to allow iframes and CORS requests, and allow the server to +be accessed from any host (e.g. 0.0.0.0). {% endif %} """