MCPcopy
hub / github.com/lingodotdev/lingo.dev / getGoogleKey

Function getGoogleKey

packages/compiler/src/utils/llm-api-key.ts:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52export function getGoogleKey() {
53 return getGoogleKeyFromEnv() || getGoogleKeyFromRc();
54}
55
56export function getGoogleKeyFromRc() {
57 return getKeyFromRc("llm.googleApiKey");

Callers 1

_createAiModelMethod · 0.90

Calls 2

getGoogleKeyFromEnvFunction · 0.85
getGoogleKeyFromRcFunction · 0.85

Tested by

no test coverage detected