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

Function isGitHubOpenAICompatibleProviderTokenActive

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

Source from the content-addressed store, hash-verified

101}
102
103function isGitHubOpenAICompatibleProviderTokenActive(): boolean {
104 const providerType = getActiveProviderConfig().type
105 return (
106 (providerType === 'github-models' || providerType === 'github-copilot') &&
107 !!(getConfiguredProviderAuthToken() || getConfiguredProviderApiKey())
108 )
109}
110
111function isOpenAICompatibleProviderActive(): boolean {
112 const providerType = getActiveProviderConfig().type

Callers 1

isAnthropicAuthEnabledFunction · 0.85

Calls 3

getActiveProviderConfigFunction · 0.85

Tested by

no test coverage detected