UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

15 lines (14 loc) • 450 B
import { a as resolveApiKeyForProvider } from "./provider-auth-runtime-DYG2Fn1g.mjs"; //#region extensions/google/generation-auth.ts async function resolveGoogleGenerationApiKey(e) { const { apiKey: t } = await resolveApiKeyForProvider({ provider: "google", cfg: e.cfg, agentDir: e.agentDir, store: e.authStore }); if (!t) throw new Error("Google API key missing"); return t; } //#endregion export { resolveGoogleGenerationApiKey as t };