You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default undefined value for OCO_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
oco -y
(node:13357) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
┌ open-commit
│
◇ 1 staged files:
*****
│
◇ 📝 Commit message generated
│
└ ✖ 400 Invalid typefor'max_tokens': expected an integer, but got a string instead.
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: