Skip to content

I want to become more lazy by implementing AI generated commit messages. #3212

Description

@n3m

Is your feature request related to a problem? Please describe.
Using this tool has been a time saver since I discovered it, but I've always struggled with commit messages, so the idea of autogenerating it seems more feasible.
Context of idea: VSCode already has implemented something like this, they literally put a button on the terminal that allows you to get a commit message based on your staging context

Describe the solution you'd like

  • A way to configure an OpenAI or your favorite LLM provider token/key
  • An option to either autogenerate the commit message or manually typing it when attempting to commit. (I'm imagining the feature where the regular commit message box appears, but if you have your key configured, you can press "X" or something, and have it autogenerate it.)

Describe alternatives you've considered
Current alternatives are doing stuff outside Lazygit, which defeats the whole point here.

Additional context

I want to know if the capabilities of Lazygit would even allow such complex solution, if it does, then I'm happy to start working on it myself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions