(modelName: string)
| 17 | ] |
| 18 | |
| 19 | export function getAttributionEmail(modelName: string): string { |
| 20 | const lower = modelName.toLowerCase() |
| 21 | for (const { keywords, email } of MODEL_EMAIL_MAP) { |
| 22 | if (keywords.some(kw => lower.includes(kw))) { |
| 23 | return email |
| 24 | } |
| 25 | } |
| 26 | return 'noreply@anthropic.com' |
| 27 | } |
no outgoing calls
no test coverage detected