()
| 1750 | } |
| 1751 | |
| 1752 | export function getRateLimitTier(): string | null { |
| 1753 | if (!isAnthropicAuthEnabled()) { |
| 1754 | return null |
| 1755 | } |
| 1756 | const oauthTokens = getClaudeAIOAuthTokens() |
| 1757 | if (!oauthTokens) { |
| 1758 | return null |
| 1759 | } |
| 1760 | |
| 1761 | return oauthTokens.rateLimitTier ?? null |
| 1762 | } |
| 1763 | |
| 1764 | export function getSubscriptionName(): string { |
| 1765 | const subscriptionType = getSubscriptionType() |
no test coverage detected