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

Function getOpenAIKeyFromRc

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

Source from the content-addressed store, hash-verified

88}
89
90export function getOpenAIKeyFromRc() {
91 return getKeyFromRc("llm.openaiApiKey");
92}
93
94export function getOpenAIKeyFromEnv() {
95 return getKeyFromEnv("OPENAI_API_KEY");

Callers 1

getOpenAIKeyFunction · 0.85

Calls 1

getKeyFromRcFunction · 0.85

Tested by

no test coverage detected