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

Function isUsing3PServices

source code/utils/auth.ts:1734–1740  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1732
1733/** Check if using third-party services (Bedrock or Vertex or Foundry) */
1734export function isUsing3PServices(): boolean {
1735 return !!(
1736 isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
1737 isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
1738 isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY)
1739 )
1740}
1741
1742/**
1743 * Get the configured otelHeadersHelper from settings

Callers 4

commands.tsFile · 0.85
getFeedbackGuidelineFunction · 0.85
authStatusFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected