(opencommit.zsh): add new configuration file for OpenCommit with default settings

This commit is contained in:
Frank Qing
2024-05-01 17:37:23 +08:00
parent 7b214c6bad
commit b6d3aa58b3

12
zshrc/opencommit.zsh Normal file
View File

@@ -0,0 +1,12 @@
OCO_OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OCO_TOKENS_MAX_INPUT=128000
OCO_TOKENS_MAX_OUTPUT=4096
OCO_OPENAI_BASE_PATH=https://api.aiohub.org/v1
OCO_DESCRIPTION=false
OCO_EMOJI=true
OCO_MODEL=gpt-4-turbo-preview
OCO_LANGUAGE=en
OCO_MESSAGE_TEMPLATE_PLACEHOLDER=$msg
OCO_PROMPT_MODULE=conventional-commit
OCO_AI_PROVIDER=openai
OCO_ONE_LINE_COMMIT=false