()
| 109 | } |
| 110 | |
| 111 | function isOpenAICompatibleProviderActive(): boolean { |
| 112 | const providerType = getActiveProviderConfig().type |
| 113 | return ( |
| 114 | providerType === 'openai-compatible' || |
| 115 | providerType === 'github-models' || |
| 116 | providerType === 'github-copilot' |
| 117 | ) |
| 118 | } |
| 119 | |
| 120 | /** Whether we are supporting direct 1P auth. */ |
| 121 | // this code is closely related to getAuthTokenSource |
no test coverage detected