MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / isOpenAICompatibleProviderActive

Function isOpenAICompatibleProviderActive

src/utils/auth.ts:111–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109}
110
111function isOpenAICompatibleProviderActive(): boolean {
112 const providerType = getActiveProviderConfig().type
113 return (
114 providerType === 'openai-compatible' ||
115 providerType === 'github-models' ||
116 providerType === 'github-copilot'
117 )
118}
119
120/** Whether we are supporting direct 1P auth. */
121// this code is closely related to getAuthTokenSource

Callers 2

getAuthTokenSourceFunction · 0.85

Calls 1

getActiveProviderConfigFunction · 0.85

Tested by

no test coverage detected