gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.04k stars 1.35k forks source link

Allow to customize the prompt of AI Explain commit details please #3461

Open BobbyJonas opened 3 months ago

BobbyJonas commented 3 months ago

As the title suggests, Sometimes I want to give AI more context, or provide the settings such as languages / libs to AI in advance, so that I can get more accurate responses. So it would be nice to provide personal extra AI prompt.

jkelroy commented 3 months ago

Hello @BobbyJonas, you can use the setting gitlens.experimental.generateCommitMessagePrompt in your settings.json to provide more context to AI for the commit message generation.

BobbyJonas commented 3 months ago

Hello @BobbyJonas, you can use the setting gitlens.experimental.generateCommitMessagePrompt in your settings.json to provide more context to AI for the commit message generation.

not for a commit message generation, but for a new "AI Explain" feature. AI Explain is a feature which provides to explain file changes in historic commits.

francovp commented 2 months ago

Hello, also need this please. I need to tell the "Explain AI" feature that I wanted it in another language, like Spanish. @jkelroy Can you re-open this please? Since it was not addressed.

jkelroy commented 2 months ago

Thanks for the clarification and apologies for missing that. I have reopened the issue.