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

Function shouldIncludeFirstPartyOnlyBetas

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

Source from the content-addressed store, hash-verified

213 * and may not be supported by proxies or other providers.
214 */
215export function shouldIncludeFirstPartyOnlyBetas(): boolean {
216 return (
217 (getAPIProvider() === 'firstParty' || getAPIProvider() === 'foundry') &&
218 !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS)
219 )
220}
221
222/**
223 * Global-scope prompt caching is firstParty only. Foundry is excluded because

Callers 6

betas.tsFile · 0.85
isAdvisorEnabledFunction · 0.85
getExtraBodyParamsFunction · 0.85
queryModelFunction · 0.85
paramsFromContextFunction · 0.85

Calls 2

getAPIProviderFunction · 0.85
isEnvTruthyFunction · 0.85

Tested by

no test coverage detected