π OpenHands: AI-Driven Development
Revert changes to config defaults (#6370)
Robert Brennan509892cf0e41
diff --git a/openhands/core/config/agent_config.py b/openhands/core/config/agent_config.pyindex 43e430b879..67fa4e9d8a 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.pyindex 44bd7ee0af..f5b984fec0 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.pyindex 1861c45308..1ffd4b8f11 100644--- a/openhands/utils/prompt.py+++ b/openhands/utils/prompt.py@@ -48,7 +48,8 @@ each of which has a corresponding port:* {{ 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).</RUNTIME_INFORMATION>{% endif %}"""