()
| 101 | } |
| 102 | |
| 103 | function isGitHubOpenAICompatibleProviderTokenActive(): boolean { |
| 104 | const providerType = getActiveProviderConfig().type |
| 105 | return ( |
| 106 | (providerType === 'github-models' || providerType === 'github-copilot') && |
| 107 | !!(getConfiguredProviderAuthToken() || getConfiguredProviderApiKey()) |
| 108 | ) |
| 109 | } |
| 110 | |
| 111 | function isOpenAICompatibleProviderActive(): boolean { |
| 112 | const providerType = getActiveProviderConfig().type |
no test coverage detected