MCPcopy Index your code
hub / github.com/sqlchat/sqlchat / allowSelfOpenAIKey

Function allowSelfOpenAIKey

src/utils/openai.ts:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57export function allowSelfOpenAIKey() {
58 return process.env.NEXT_PUBLIC_ALLOW_SELF_OPENAI_KEY == "true";
59}

Callers 3

QuotaOverflowBannerFunction · 0.90
QuotaViewFunction · 0.90
OpenAIApiConfigViewFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected