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

[Bug]: Can't make opencommit work after update to newest version. The model can be any string, but the current configuration is not supported. #383

Closed devacc00 closed 1 month ago

devacc00 commented 1 month ago

Opencommit Version

newest one

Node Version

v22.4.1

NPM Version

10.8.1

What OS are you seeing the problem on?

Mac

What happened?

After updating to newest version can't use at all opencommit due this bug.

I set up provider and model in env, tryed both setting in file and as config set.

Expected Behavior

oco to work

Current Behavior

Screenshot 2024-08-19 at 08 03 09

When running:

oco
└  ✖ Unsupported model gpt-4o-mini. The model can be any string, but the current configuration is not supported.

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

The-R4V3N commented 1 month ago

Cant get it to work after the update. Getting the same error message

devacc00 commented 1 month ago

https://github.com/di-sukharev/opencommit/pull/387 Thx for fix