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

Function getRateLimitTier

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

Source from the content-addressed store, hash-verified

1975}
1976
1977export function getRateLimitTier(): string | null {
1978 if (!isAnthropicAuthEnabled()) {
1979 return null
1980 }
1981 const oauthTokens = getClaudeAIOAuthTokens()
1982 if (!oauthTokens) {
1983 return null
1984 }
1985
1986 return oauthTokens.rateLimitTier ?? null
1987}
1988
1989export function getSubscriptionName(): string {
1990 const subscriptionType = getSubscriptionType()

Callers 1

isTeamPremiumSubscriberFunction · 0.85

Calls 1

isAnthropicAuthEnabledFunction · 0.85

Tested by

no test coverage detected