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

Function shouldUseGlobalCacheScope

src/utils/betas.ts:227–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 * treatment data is firstParty-only.
226 */
227export function shouldUseGlobalCacheScope(): boolean {
228 return (
229 getAPIProvider() === 'firstParty' &&
230 !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS)
231 )
232}
233
234export const getAllModelBetas = memoize((model: string): string[] => {
235 const betaHeaders = []

Callers 3

splitSysPromptPrefixFunction · 0.85
queryModelFunction · 0.85
getSystemPromptFunction · 0.85

Calls 2

getAPIProviderFunction · 0.85
isEnvTruthyFunction · 0.85

Tested by

no test coverage detected