()
| 218 | } |
| 219 | |
| 220 | export function hasAnthropicApiKeyAuth(): boolean { |
| 221 | const { key, source } = getAnthropicApiKeyWithSource({ |
| 222 | skipRetrievingKeyFromApiKeyHelper: true, |
| 223 | }) |
| 224 | return key !== null && source !== 'none' |
| 225 | } |
| 226 | |
| 227 | export function getAnthropicApiKeyWithSource( |
| 228 | opts: { skipRetrievingKeyFromApiKeyHelper?: boolean } = {}, |
no test coverage detected