Skip to content

Commit 1d42690

Browse files
ei-gradaider (vertex_ai/gemini-2.5-pro-exp-03-25)
andcommitted
fix: update co-authored-by domain to aider.chat
Co-authored-by: aider (vertex_ai/gemini-2.5-pro-exp-03-25) <[email protected]>
1 parent 3f94fd5 commit 1d42690

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

aider/repo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def commit(self, fnames=None, context=None, message=None, aider_edits=False, cod
162162
Flags:
163163
- --attribute-author: Modify Author name to "User Name (aider)".
164164
- --attribute-committer: Modify Committer name to "User Name (aider)".
165-
- --attribute-co-authored-by: Add "Co-authored-by: aider (<model>) <noreply@aider.dev>"
165+
- --attribute-co-authored-by: Add "Co-authored-by: aider (<model>) <noreply@aider.chat>"
166166
trailer to the commit message.
167167
168168
Behavior Summary:
@@ -240,7 +240,7 @@ def commit(self, fnames=None, context=None, message=None, aider_edits=False, cod
240240
if coder and hasattr(coder, "main_model") and coder.main_model.name:
241241
model_name = coder.main_model.name
242242
commit_message_trailer = (
243-
f"\n\nCo-authored-by: aider ({model_name}) <noreply@aider.dev>"
243+
f"\n\nCo-authored-by: aider ({model_name}) <noreply@aider.chat>"
244244
)
245245

246246
# Determine if author/committer names should be modified

tests/basic/test_repo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def test_commit_with_co_authored_by(self):
265265

266266
# check the commit message and author/committer
267267
commit = raw_repo.head.commit
268-
self.assertIn("Co-authored-by: aider (gpt-test) <noreply@aider.dev>", commit.message)
268+
self.assertIn("Co-authored-by: aider (gpt-test) <noreply@aider.chat>", commit.message)
269269
self.assertEqual(commit.message.splitlines()[0], "Aider edit")
270270
# With default (None), co-authored-by takes precedence
271271
self.assertEqual(commit.author.name, "Test User", msg="Author name should not be modified when co-authored-by takes precedence")
@@ -308,7 +308,7 @@ def test_commit_co_authored_by_with_explicit_name_modification(self):
308308

309309
# check the commit message and author/committer
310310
commit = raw_repo.head.commit
311-
self.assertIn("Co-authored-by: aider (gpt-test-combo) <noreply@aider.dev>", commit.message)
311+
self.assertIn("Co-authored-by: aider (gpt-test-combo) <noreply@aider.chat>", commit.message)
312312
self.assertEqual(commit.message.splitlines()[0], "Aider combo edit")
313313
# When co-authored-by is true BUT author/committer are explicit True, modification SHOULD happen
314314
self.assertEqual(commit.author.name, "Test User (aider)", msg="Author name should be modified when explicitly True, even with co-author")

0 commit comments

Comments
 (0)