Skip to content

Allow to config different language in commit message #4049

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
elct9620 opened this issue May 20, 2025 · 0 comments
Open

Allow to config different language in commit message #4049

elct9620 opened this issue May 20, 2025 · 0 comments

Comments

@elct9620
Copy link

Issue

I find that v0.83.0+ will use the user's language to generate the commit message

aider/aider/prompts.py

Lines 16 to 19 in 3caab85

Ensure the commit message:{language_instruction}
- Starts with the appropriate prefix.
- Is in the imperative mood (e.g., \"add feature\" not \"added feature\" or \"adding feature\").
- Does not exceed 72 characters.

Is it possible to add a config to set commit-language: en to avoid it?

The reason is that a global team may want to use English commit for review, but the developer can use their native language to review the agent's work.

The team member will hard to understand the commit if the commit message isn't their native language.

Version and model info

Aider v0.83.1
Main model: anthropic/claude-3-7-sonnet-20250219 with diff edit format, infinite output
Weak model: anthropic/claude-3-5-haiku-20241022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant