MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / readKey

Function readKey

showcase/shell-docs/src/lib/runtime-config.ts:208–211  ·  view source on GitHub ↗

* Read an analytics key. Empty/missing values are returned as the empty * string with NO log — analytics keys are legitimately absent in * non-production envs (the consumer providers no-op when the key is * empty), and the existing shell-docs/Dockerfile documents the same * behavior. Adding a pr

(envKey: string)

Source from the content-addressed store, hash-verified

206 * intentionally analytics-disabled environments.
207 */
208function readKey(envKey: string): string {
209 const value = readEnvPair(envKey);
210 return value !== undefined ? value : "";
211}

Callers 1

getRuntimeConfigFunction · 0.70

Calls 1

readEnvPairFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…