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

Function getAgentConfig

scripts/mars-api.mjs:251–254  ·  view source on GitHub ↗

Full config, including the parsed `manifest` the list omits.

(configId)

Source from the content-addressed store, hash-verified

249
250 /** Full config, including the parsed `manifest` the list omits. */
251 async getAgentConfig(configId) {
252 const body = await request("GET", `${CONFIGS_PATH}/${configId}`);
253 return body?.config ?? null;
254 },
255
256 /**
257 * Sessions belonging to one config. Same Session shape and pagination as

Callers

nothing calls this directly

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected