( source: string | null | undefined, )
| 81 | } |
| 82 | |
| 83 | export function isOpenAIDirectApiKeySource( |
| 84 | source: string | null | undefined, |
| 85 | ): boolean { |
| 86 | return getDirectApiKeyProviderKindForSource(source) === 'openai_compat' |
| 87 | } |
| 88 | |
| 89 | export function isAnthropicDirectApiKeySource( |
| 90 | source: string | null | undefined, |
no test coverage detected