Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
90
export
function
getOpenAIKeyFromRc() {
91
return
getKeyFromRc(
"llm.openaiApiKey"
);
92
}
93
94
export
function
getOpenAIKeyFromEnv() {
95
return
getKeyFromEnv(
"OPENAI_API_KEY"
);
Callers
1
getOpenAIKey
Function · 0.85
Calls
1
getKeyFromRc
Function · 0.85
Tested by
no test coverage detected