MCPcopy
hub / github.com/codeaashu/claude-code / isUsing3PServices

Function isUsing3PServices

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

Source from the content-addressed store, hash-verified

1730
1731/** Check if using third-party services (Bedrock or Vertex or Foundry) */
1732export function isUsing3PServices(): boolean {
1733 return !!(
1734 isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
1735 isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
1736 isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY)
1737 )
1738}
1739
1740/**
1741 * 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