openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
3 lines • 385 B
JavaScript
import{a as resolveApiKeyForProvider}from"./provider-auth-runtime-NQRl8Lp4.mjs";
//!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}export{resolveGoogleGenerationApiKey as t};