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

Function isUsing3PServices

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

Source from the content-addressed store, hash-verified

2008
2009/** Check if using third-party services (Bedrock or Vertex or Foundry) */
2010export function isUsing3PServices(): boolean {
2011 return !!(
2012 isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
2013 isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
2014 isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY)
2015 )
2016}
2017
2018/**
2019 * Get the configured otelHeadersHelper from settings

Callers

nothing calls this directly

Calls 1

isEnvTruthyFunction · 0.90

Tested by

no test coverage detected