Skip to content

Commit a5d03e9

Browse files
euxaristiaclaude
andcommitted
fix(attribution): use qwen-coder@alibabacloud.com for Qwen co-author email
Match the email used by the upstream qwen-code project so Qwen-attributed commits link to the @qwencoder GitHub profile instead of an unlinked noreply@alibabacloud.com address. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2b9d02d commit a5d03e9

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/utils/attribution.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,16 @@ export function getAttributionTexts(): AttributionTexts {
8181
'🤖 Generated with [OpenClaude](https://github.com/Gitlawb/openclaude)'
8282
const apiProvider = getAPIProvider()
8383
const modelContainsQwen = model.toString().toLowerCase().includes('qwen')
84-
const coAuthorDomain =
85-
apiProvider === 'firstParty' ? 'anthropic.com' :
86-
apiProvider === 'qwen' || modelContainsQwen ? 'alibabacloud.com' :
87-
'openclaude.dev'
84+
const isQwen = apiProvider === 'qwen' || modelContainsQwen
85+
const coAuthorEmail =
86+
apiProvider === 'firstParty' ? 'noreply@anthropic.com' :
87+
isQwen ? 'qwen-coder@alibabacloud.com' :
88+
'noreply@openclaude.dev'
8889
const defaultCommit = isEnvTruthy(
8990
process.env.OPENCLAUDE_DISABLE_CO_AUTHORED_BY,
9091
)
9192
? ''
92-
: `Co-Authored-By: ${modelName} <noreply@${coAuthorDomain}>`
93+
: `Co-Authored-By: ${modelName} <${coAuthorEmail}>`
9394

9495
const settings = getInitialSettings()
9596

0 commit comments

Comments
 (0)