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