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

OPENAI_MAX_TOKENS Must be a number #161

Closed Jossec101 closed 1 year ago

Jossec101 commented 1 year ago

I'm having issues whatever max token I put on macOS,

Unsupported config key OPENAI_MAX_TOKENS: Must be a number

My config:

OPENAI_API_KEY=****
OPENAI_MAX_TOKENS=1000

Originally posted by @Jossec101 in https://github.com/di-sukharev/opencommit/issues/132#issuecomment-1535197072

takuya-o commented 1 year ago

The same problem occurs on Linux.