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

Function getOrCreatePersistedApiKeyFile

scripts/dev-safe.mjs:123–127  ·  view source on GitHub ↗
(
  filePath = DEFAULT_API_KEY_PATH,
)

Source from the content-addressed store, hash-verified

121 * @returns {string} The (hex) API key.
122 */
123export function getOrCreatePersistedApiKeyFile(
124 filePath = DEFAULT_API_KEY_PATH,
125) {
126 return getOrCreatePersistedApiKey(filePath, "session");
127}
128
129/** @deprecated Use getOrCreatePersistedApiKeyFile */
130export function getOrCreatePersistedSessionApiKey(

Callers 2

buildConfigFromPortsFunction · 0.85

Calls 1

Tested by

no test coverage detected