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

Function getOrCreatePersistedSessionApiKey

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

Source from the content-addressed store, hash-verified

128
129/** @deprecated Use getOrCreatePersistedApiKeyFile */
130export function getOrCreatePersistedSessionApiKey(
131 filePath = DEFAULT_API_KEY_PATH,
132) {
133 return getOrCreatePersistedApiKeyFile(filePath);
134}
135
136/**
137 * 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