Closed rogerconsul-cw closed 2 months ago
I get the same error after updating to 3.1.0. Reverting to 3.0.20 works fine.
there is a bug that will be fixed with the next release, which most likely happens today.
for now run: oco config set OCO_TOKENS_MAX_INPUT=10000 OCO_TOKENS_MAX_OUTPUT=10000
, should heal it
gonna be fixed when this is merged https://github.com/di-sukharev/opencommit/pull/408
Same error. I tried to hard-code a token number before. Reverting to previous version. No worries 👍
Same error here. Waiting for the merge.
latest version just merged https://github.com/di-sukharev/opencommit/pull/412
run npm i -g opencommit@latest
Opencommit Version
3.1.2
Node Version
22.5.1
NPM Version
10.8.2
What OS are you seeing the problem on?
Mac
What happened?
Default
undefined
value forOCO_TOKENS_MAX_OUTPUT
is throwing error.Expected Behavior
some default value for it.
Current Behavior
expected an integer, but got a string instead.
Possible Solution
Adjusting the default value to an integer
Steps to Reproduce
I just tried to use after updating.
Relevant log output