()
| 248 | } |
| 249 | |
| 250 | export function hasAnthropicApiKeyAuth(): boolean { |
| 251 | const { key, source } = getAnthropicApiKeyWithSource({ |
| 252 | skipRetrievingKeyFromApiKeyHelper: true, |
| 253 | }) |
| 254 | return key !== null && source !== 'none' |
| 255 | } |
| 256 | |
| 257 | export function getAnthropicApiKeyWithSource( |
| 258 | opts: { skipRetrievingKeyFromApiKeyHelper?: boolean } = {}, |
no test coverage detected