MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / getAgentServerBaseUrl

Function getAgentServerBaseUrl

scripts/dev-static.mjs:291–293  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

289// resolve to ::1 first (notably on Windows). Every proxy target and readiness
290// probe pointed at them must therefore address IPv4 explicitly.
291function getAgentServerBaseUrl(config) {
292 return `http://127.0.0.1:${config.agentServerPort}`;
293}
294
295function getAutomationBaseUrl(config) {
296 return `http://127.0.0.1:${config.autoBackendPort}`;

Callers 4

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected