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

Function getOrCreatePersistedApiKeyFile

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

Source from the content-addressed store, hash-verified

116 * @returns {string} The (hex) API key.
117 */
118export function getOrCreatePersistedApiKeyFile(
119 filePath = DEFAULT_API_KEY_PATH,
120) {
121 return getOrCreatePersistedApiKey(filePath, "session");
122}
123
124/** @deprecated Use getOrCreatePersistedApiKeyFile */
125export function getOrCreatePersistedSessionApiKey(

Callers 2

buildConfigFromPortsFunction · 0.85

Calls 1

Tested by

no test coverage detected