diff --git a/openhands/agenthub/codeact_agent/prompts/additional_info.j2 b/openhands/agenthub/codeact_agent/prompts/additional_info.j2 index f7e7ff9495..5c30c79be3 100644 --- a/openhands/agenthub/codeact_agent/prompts/additional_info.j2 +++ b/openhands/agenthub/codeact_agent/prompts/additional_info.j2 @@ -19,7 +19,7 @@ each of which has a corresponding port: When starting a web server, use the corresponding ports. You should also 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). -For example, if you are using vite.config.js, you should set server.host to 0.0.0.0, server.port to the port assigned to you, and allowedHosts to the host assigned to you. +For example, if you are using vite.config.js, you should set server.host and server.allowedHosts to true {% endif %} {% if runtime_info.additional_agent_instructions %} {{ runtime_info.additional_agent_instructions }}