Add a language configuration to translate language generated by QodoM…#1579
Conversation
…erge, such as suggestions and desciption text
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
User description
Add a configuration to translate the dynamic text generated by QodoMerge, such as the PR description and Code suggestions
PR Type
Enhancement
Description
Added support for language configuration in PR responses.
Introduced
commands2instructionsmapping for extra instructions.Appended user language preference to extra instructions dynamically.
Updated configuration to include
response_languagesetting.Changes walkthrough 📝
pr_agent.py
Add language preference handling and command mappingspr_agent/agent/pr_agent.py
commands2instructionsdictionary for mapping commands toinstructions.
extra_instructionsdynamically.configuration.toml
Add response language configuration to settingspr_agent/settings/configuration.toml
response_languageconfiguration for specifying responselanguage.
extra_instructionsdefault value for testing purposes.