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

Function getOrCreatePersistedSessionApiKey

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

Source from the content-addressed store, hash-verified

123
124/** @deprecated Use getOrCreatePersistedApiKeyFile */
125export function getOrCreatePersistedSessionApiKey(
126 filePath = DEFAULT_API_KEY_PATH,
127) {
128 return getOrCreatePersistedApiKeyFile(filePath);
129}
130
131/**
132 * Load a persisted default API key, generating + persisting one if the file

Callers 1

dev-safe.test.tsFile · 0.90

Calls 1

Tested by

no test coverage detected