MCPcopy Create free account
hub / github.com/Noumena-Network/code / remoteRuntimeEnvironmentVariables

Function remoteRuntimeEnvironmentVariables

src/remote/runtimeMatrix.ts:71–81  ·  view source on GitHub ↗
(
  runtime: RemoteSessionRuntime,
)

Source from the content-addressed store, hash-verified

69}
70
71export function remoteRuntimeEnvironmentVariables(
72 runtime: RemoteSessionRuntime,
73): Record<string, string> {
74 return {
75 NCODE_REMOTE_RUNTIME_KIND: runtime.kind,
76 NCODE_REMOTE_RUNTIME_PROVIDER_MODE: runtime.provider_mode,
77 ...(runtime.token_transport
78 ? { NCODE_REMOTE_RUNTIME_TOKEN_TRANSPORT: runtime.token_transport }
79 : {}),
80 }
81}

Calls

no outgoing calls

Tested by

no test coverage detected