()
| 143 | } |
| 144 | |
| 145 | function isCurrentEnterpriseOauthSession(): boolean { |
| 146 | const session = getCurrentRetrySession() |
| 147 | return ( |
| 148 | isOauthBackedFirstPartySession(session) && |
| 149 | session.subscription.subscriptionType === 'enterprise' |
| 150 | ) |
| 151 | } |
| 152 | |
| 153 | export interface RetryContext { |
| 154 | maxTokensOverride?: number |
no test coverage detected