MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / isUsing3PServices

Function isUsing3PServices

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

Source from the content-addressed store, hash-verified

1740 * separate handling in the call sites above.
1741 */
1742export function isUsing3PServices(): boolean {
1743 return !!(
1744 isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
1745 isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
1746 isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) ||
1747 isEnvTruthy(process.env.CLAUDE_CODE_USE_OPENAI) ||
1748 isEnvTruthy(process.env.CLAUDE_CODE_USE_GEMINI) ||
1749 isEnvTruthy(process.env.CLAUDE_CODE_USE_GROK)
1750 )
1751}
1752
1753/**
1754 * Get the configured otelHeadersHelper from settings

Callers 4

getFeedbackGuidelineFunction · 0.85
commands.tsFile · 0.85
authStatusFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.70

Tested by

no test coverage detected