MCPcopy Index your code
hub / github.com/simstudioai/sim / setEnvKey

Function setEnvKey

apps/sim/app/api/providers/baseten/models/route.test.ts:57–59  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

55}
56
57function setEnvKey(value: string | undefined): void {
58 mutableEnv.BASETEN_API_KEY = value
59}
60
61function authHeaderFromLastFetch(mockFetch: ReturnType<typeof vi.fn>): unknown {
62 const init = mockFetch.mock.calls.at(-1)?.[1] as RequestInit | undefined

Callers 1

route.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected