()
| 1768 | } |
| 1769 | |
| 1770 | export function getRateLimitTier(): string | null { |
| 1771 | if (!isAnthropicAuthEnabled()) { |
| 1772 | return null |
| 1773 | } |
| 1774 | const oauthTokens = getClaudeAIOAuthTokens() |
| 1775 | if (!oauthTokens) { |
| 1776 | return null |
| 1777 | } |
| 1778 | |
| 1779 | return oauthTokens.rateLimitTier ?? null |
| 1780 | } |
| 1781 | |
| 1782 | export function getSubscriptionName(): string { |
| 1783 | const subscriptionType = getSubscriptionType() |
no test coverage detected