[Enhancement] Letting the AI improve the commit instead of generating it
I tried the AI commit generation a couple of times with Lama 3 and Gemma 3 and the results have been pretty disappointing. Sure it can describe what the changes were but it doesn't know why they were done. I think a much better approach would be for the commit message to be part of the prompt. Seeing what code was changed isn't enough for the LLM to know why it was changed or something what that change is doing on the larger scale. But if we could add a prompt per commit we could explain what we're doing or why we're doing it. Or we could just ask it to improve what we wrote so far instead of having it generate the whole thing.
Yes, in general it would be nice if the AI had more context about the commit other than just the files that changed. Branch name, Repository name, Current user or "input commit message" could all be helpful variables
Yeah, and maybe write the commit in native language and AI translates it into English.