/**
 * 内置 Provider 目录：Anthropic-compatible base URL 与鉴权类型。
 *
 * 与 model-registry 解耦，供 provider.ts 与 registry 共同引用，避免循环依赖。
 */

export const PROVIDER_CATALOG: Record<string, {
  anthropicBaseUrl: string
  authType: 'api_key' | 'auth_token'
}> = {
  anthropic: {
    anthropicBaseUrl: 'https://api.anthropic.com',
    authType: 'api_key',
  },
  minimax: {
    anthropicBaseUrl: 'https://api.minimaxi.com/anthropic',
    authType: 'auth_token',
  },
  zhipu: {
    anthropicBaseUrl: 'https://open.bigmodel.cn/api/anthropic',
    authType: 'auth_token',
  },
  moonshot: {
    anthropicBaseUrl: 'https://api.moonshot.cn/anthropic',
    authType: 'auth_token',
  },
  qwen: {
    anthropicBaseUrl: 'https://dashscope.aliyuncs.com/apps/anthropic',
    authType: 'auth_token',
  },
  deepseek: {
    anthropicBaseUrl: 'https://api.deepseek.com/anthropic',
    authType: 'auth_token',
  },
}
