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

Function isUsing3PServices

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

Source from the content-addressed store, hash-verified

1798
1799/** Check if using third-party services (Bedrock or Vertex or Foundry) */
1800export function isUsing3PServices(): boolean {
1801 return !!(
1802 isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
1803 isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
1804 isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY)
1805 )
1806}
1807
1808/**
1809 * 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