Kode-cli/src/utils/auth.ts
2025-08-10 19:57:17 +08:00

14 lines
346 B
TypeScript

import { USE_BEDROCK, USE_VERTEX } from './model'
import { getGlobalConfig } from './config'
export function isAnthropicAuthEnabled(): boolean {
return false
// return !(USE_BEDROCK || USE_VERTEX)
}
export function isLoggedInToAnthropic(): boolean {
return false
// const config = getGlobalConfig()
// return !!config.primaryApiKey
}