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