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