Refs #266584
Complexity: 3
Create Issue
Context
A new setting allows users to automatically include a 'Co-authored-by:' Git commit trailer when committing code that was generated by AI tools. Users can enable or disable this feature, specify which AI models are attributed, and set thresholds for when the trailer is added.
Test Steps
- Open VS Code settings and search for the new Git AI co-author setting
git.addAICoAuthor
- Verify the setting is off by default and change it to
chatAndAgent
- Open a repo
- Make changes without using chat or agent, commit, hover over blame status bar -> you should see no co-author
- Make changes using chat and/or agent, commit, hover over blame status bar -> you should see Copilot as co-author
- Make changes using NES or editor completions, commit, hover over blame status bar -> you should see no co-author
- Repeat steps 4-6 with setting set to
all - this time you should see co-author for NES/editor completions as well.
- Set the setting back to 'off', verify you don't see co-author any more on any changes, including those done by AI.
Things to try:
- Different types of changes/edits
- Different git operations
- Try opening a repo with co-author trailers included in commits, verify they are displayed in blame tooltips
Notes
There is no model attribution at the moment, so it's either Copilot or nothing.
If you feel we need to be more specific, please log an issue with your particular expectations.
Refs #266584
Complexity: 3
Create Issue
Context
A new setting allows users to automatically include a 'Co-authored-by:' Git commit trailer when committing code that was generated by AI tools. Users can enable or disable this feature, specify which AI models are attributed, and set thresholds for when the trailer is added.
Test Steps
git.addAICoAuthorchatAndAgentall- this time you should see co-author for NES/editor completions as well.Things to try:
Notes
There is no model attribution at the moment, so it's either Copilot or nothing.
If you feel we need to be more specific, please log an issue with your particular expectations.