Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lingodotdev/lingo.dev
/ getOpenRouterKey
Function
getOpenRouterKey
packages/compiler/src/utils/llm-api-key.ts:64–66 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
}
63
64
export
function
getOpenRouterKey() {
65
return
getOpenRouterKeyFromEnv() || getOpenRouterKeyFromRc();
66
}
67
export
function
getOpenRouterKeyFromRc() {
68
return
getKeyFromRc(
"llm.openrouterApiKey"
);
69
}
Callers
1
_createAiModel
Method · 0.90
Calls
2
getOpenRouterKeyFromEnv
Function · 0.85
getOpenRouterKeyFromRc
Function · 0.85
Tested by
no test coverage detected