diff --git a/src/utils/attributionEmail.ts b/src/utils/attributionEmail.ts index 1ff224080..de90274bb 100644 --- a/src/utils/attributionEmail.ts +++ b/src/utils/attributionEmail.ts @@ -1,22 +1,24 @@ -const MODEL_GITHUB_MAP: Array<{ keywords: string[]; email: string }> = [ +const MODEL_EMAIL_MAP: Array<{ keywords: string[]; email: string }> = [ { keywords: ['claude'], email: 'noreply@anthropic.com' }, + // 由于找不到他们的邮箱和头像, 所以改为了使用我们的邮箱先记录, 后续官方有 github 能用的邮箱可以替换 + // github 组织是不能用 co author 的 { keywords: ['gpt', 'dall-e', 'o1-', 'o3-', 'o4-'], - email: 'openai@users.noreply.github.com', + email: 'openai@claude-code-best.win', }, - { keywords: ['gemini'], email: 'google-gemini@users.noreply.github.com' }, - { keywords: ['grok'], email: 'xai-org@users.noreply.github.com' }, - { keywords: ['glm'], email: 'zai-org@users.noreply.github.com' }, - { keywords: ['deepseek'], email: 'deepseek-ai@users.noreply.github.com' }, - { keywords: ['qwen'], email: 'QwenLM@users.noreply.github.com' }, - { keywords: ['minimax'], email: 'MiniMax-AI@users.noreply.github.com' }, - { keywords: ['mimo'], email: 'XiaomiMiMo@users.noreply.github.com' }, - { keywords: ['kimi'], email: 'MoonshotAI@users.noreply.github.com' }, + { keywords: ['gemini'], email: 'google-gemini@claude-code-best.win' }, + { keywords: ['grok'], email: 'xai-org@claude-code-best.win' }, + { keywords: ['glm'], email: 'zai-org@claude-code-best.win' }, + { keywords: ['deepseek'], email: 'deepseek-ai@claude-code-best.win' }, + { keywords: ['qwen'], email: 'QwenLM@claude-code-best.win' }, + { keywords: ['minimax'], email: 'MiniMax-AI@claude-code-best.win' }, + { keywords: ['mimo'], email: 'XiaomiMiMo@claude-code-best.win' }, + { keywords: ['kimi'], email: 'MoonshotAI@claude-code-best.win' }, ] export function getAttributionEmail(modelName: string): string { const lower = modelName.toLowerCase() - for (const { keywords, email } of MODEL_GITHUB_MAP) { + for (const { keywords, email } of MODEL_EMAIL_MAP) { if (keywords.some(kw => lower.includes(kw))) { return email }