di-sukharev / opencommit

Generate conventional git commit messages with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
5.98k stars 318 forks source link

Internal error when generating commit message #21

Closed kivircik-parantez closed 1 year ago

kivircik-parantez commented 1 year ago

I am encountering an internal error when trying to generating commit message. The error message I received is " ✖ internal error, try again."

I am using OpenCommit version v1.1.10 and from VSCode bash terminal. I have already tried restart and reinstalling, but the error persists. Error changed to : image

Can someone please provide guidance on how to resolve this issue? Thank you.

di-sukharev commented 1 year ago

@kivircik-parantez hello

does commiting smaller file works? maybe file is too big, it should be divided in chunks, but looks like there is a bug in this functionality

di-sukharev commented 1 year ago

and it's probably a duplicate of https://github.com/di-sukharev/opencommit/issues/8

kivircik-parantez commented 1 year ago

@di-sukharev thanks for your answer, another smaller commit worked.