Skip to content
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

Add /diff to the assistant #16821

Open
1 task done
knyazer opened this issue Aug 25, 2024 · 1 comment · May be fixed by #24395
Open
1 task done

Add /diff to the assistant #16821

knyazer opened this issue Aug 25, 2024 · 1 comment · May be fixed by #24395
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label] git Git integration feedback

Comments

@knyazer
Copy link

knyazer commented Aug 25, 2024

Check for existing issues

  • Completed

Describe the feature

A /diff command that would pass git diff (with a configurable number of lines around every diff included too, for example 2) to the assistant.

And maybe a bunch of other git related commands? Something like /git diff|merge|branch. Tho diff seems to be the most useful one.

If applicable, add mockups / screenshots to help present your vision of the feature

This is useful when making tons of small changes around a bunch of files. Passing the /diff to the assistant would let it know about all the changes, thus the assistant could be of help when fixing e.g. merge conflicts; besides, it could be useful to minimize the amount of info passed to the assistant: instead of passing all the tabs, you pass only the relevant changes.

There were some papers about the fact that too much irrelevant context might worsen performance

@JosephTLyons JosephTLyons added git Git integration feedback ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) and removed triage labels Aug 26, 2024
@AlbertMarashi
Copy link
Contributor

bloody amazing idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label] git Git integration feedback
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants