-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: 'OCO_AI_PROVIDER' name is invalid #429
Comments
I am so baffled by this. I'd guess it's adding the extra |
did you set |
hope it helps, but the error is wrong, i will be fixing the error message later this week, no time now. you could prepare a PR if you find the bug and want to help fix it |
I manage my config manually. I don't ever run the "oco config set". I maintain all my dotfiles via central management so I just update directly. That shouldn't cause problems, right? And because I'm an idiot and forgot to share it, here is my config OCO_AI_PROVIDER=openai
OCO_API_KEY=<REDACTED>
OCO_OPENAI_MAX_TOKENS=3000
OCO_DESCRIPTION=true
OCO_EMOJI=undefined
OCO_MODEL=gpt-4o
OCO_LANGUAGE=en
OCO_MESSAGE_TEMPLATE_PLACEHOLDER=$msg
OCO_PROMPT_MODULE=conventional-commit
OCO_WHY=true
OCO_GITPUSH=false |
So, |
could you do |
Opencommit Version
3.2.2
Node Version
21.7.3
NPM Version
10.5.0
What OS are you seeing the problem on?
Other Linux Distro
What happened?
Running
oco
produces the following error:Expected Behavior
That
oco
would execute as normal.Current Behavior
It's producing the following error:
Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
The text was updated successfully, but these errors were encountered: