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

Function getOrCreatePersistedSessionApiKey

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

Source from the content-addressed store, hash-verified

118
119/** @deprecated Use getOrCreatePersistedApiKeyFile */
120export function getOrCreatePersistedSessionApiKey(
121 filePath = DEFAULT_API_KEY_PATH,
122) {
123 return getOrCreatePersistedApiKeyFile(filePath);
124}
125
126/**
127 * 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