-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
[Feature Request] OpenAI support to auto generate subject #92
Labels
Comments
Zhengqbbb
added
enhancement
New feature or request
next version
Plan for next version
labels
Feb 14, 2023
Zhengqbbb
added a commit
that referenced
this issue
Feb 15, 2023
link #92 Co-authored-by: Zhengqbbb <1074059947@qq.com>
Zhengqbbb
added a commit
that referenced
this issue
Feb 15, 2023
…`$HOME/.config/.czrc`` link #92 Co-authored-by: Zhengqbbb <1074059947@qq.com>
|
6 tasks
The latest version 🌟(v1.5.0)🌟 is support this issue request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
💭 Describe the feature
Inspired by aicommits
#91
2023-2-17 update
provide command option
czg --openai-token=sk-
to setup token on$HOME/.config/.czrc
💡 Proposed Solution
Interaction
types
and get base informationdefault
value provide original prompt messageConfiguration Item
useAI
: Whether to enable AI auto generate subjectaiType
: "OpenAI"aiQuestionCB
Usage
czg
:if setting
export CZ_OPENAI_TOKEN="xxxx"
on.zshrc
and.bashrc
czg ai
orgit czg ai
: Turn on openAI generate subject modeuseAI
istrue
just runczg
orgit czg
if none setting
.zshrc
or.bashrc
can use:CZ_OPENAI_TOKEN="xxxx" czg ai
orCZ_OPENAI_TOKEN="xxxx" git czg ai
npx
:CZ_OPENAI_TOKEN="xxxx" npx czg ai
commitizen
+cz-git
:if setting
export CZ_OPENAI_TOKEN="xxxx"
on.zshrc
and.bashrc
czai=1 cz
: Turn on openAI generate subject modeuseAI
istrue
just runcz
orgit cz
if none setting
.zshrc
or.bashrc
can use:CZ_OPENAI_TOKEN="xxxx" czai=1 cz
orCZ_OPENAI_TOKEN="xxxx" openai=1 git cz
The text was updated successfully, but these errors were encountered: