()
| 1702 | } |
| 1703 | |
| 1704 | export function getRateLimitTier(): string | null { |
| 1705 | if (!isAnthropicAuthEnabled()) { |
| 1706 | return null |
| 1707 | } |
| 1708 | const oauthTokens = getClaudeAIOAuthTokens() |
| 1709 | if (!oauthTokens) { |
| 1710 | return null |
| 1711 | } |
| 1712 | |
| 1713 | return oauthTokens.rateLimitTier ?? null |
| 1714 | } |
| 1715 | |
| 1716 | export function getSubscriptionName(): string { |
| 1717 | const subscriptionType = getSubscriptionType() |
no test coverage detected