CodeGPT icon indicating copy to clipboard operation
CodeGPT copied to clipboard

commit messages generated are completely unrelated to current diff

Open GiGurra opened this issue 7 months ago • 8 comments

What happened?

I'm not sure what I'm doing wrong, but it doesn't matter what my pending changes/diff looks like. When I try to generate a commit message with codegpt and gpt4turbo, all I get is totally unrelated things.

Most of the time it just generates the static message "Fix NullPointerException in user authentication flow" or "Fix typo in Readme.MD" (my code has no authentication flow or readme changes pending) or just says "no diff provided".

I'm not sure what I'm doing wrong here

Relevant log output or stack trace

No response

Steps to reproduce

I dont know what I'm doing wrong, but it happens in all my projects and code bases.

The chat function of codegpt works perfectly, so I don't know what is going on with the commit message generation :D

CodeGPT version

2.2.4

Operating System

Linux

GiGurra avatar Nov 30 '23 10:11 GiGurra