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