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

Function getOpenRouterKeyFromRc

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

Source from the content-addressed store, hash-verified

65 return getOpenRouterKeyFromEnv() || getOpenRouterKeyFromRc();
66}
67export function getOpenRouterKeyFromRc() {
68 return getKeyFromRc("llm.openrouterApiKey");
69}
70export function getOpenRouterKeyFromEnv() {
71 return getKeyFromEnv("OPENROUTER_API_KEY");
72}

Callers 1

getOpenRouterKeyFunction · 0.85

Calls 1

getKeyFromRcFunction · 0.85

Tested by

no test coverage detected