AI-Git-Commit is a program that uses the Git Diff command to read code changes in the current folder repository and leverages the OpenAI API to generate a commit message.
Why was the text-davinci-002 static engine used instead of his newer version text-davinci-003? I think it would be handy to create settings class where you could choose which engine to use. There is also limit of tokens of response, which limit commit message length. This also could be provided in settings class. @krystian-ai
I don't see any limitation in git diff command length. Provided to OpenAI it won't be processed since it has context limitations. It depends on used engine inside prompt. Maybe such situation could be detected and try to part one big commit to several smaller git commits?