()
| 58 | } |
| 59 | |
| 60 | export function checkSonnet1mAccess(): boolean { |
| 61 | if (is1mContextDisabled()) { |
| 62 | return false |
| 63 | } |
| 64 | |
| 65 | if (isClaudeAISubscriber()) { |
| 66 | // Subscribers have access if extra usage is enabled for their account |
| 67 | return isExtraUsageEnabled() |
| 68 | } |
| 69 | |
| 70 | // Non-subscribers (API/PAYG) have access |
| 71 | return true |
| 72 | } |
| 73 |
no test coverage detected