From b6d3aa58b31d402d1d306bdc3fa701f38fb69814 Mon Sep 17 00:00:00 2001 From: Frank Qing Date: Wed, 1 May 2024 17:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(opencommit.zsh):=20add=20new=20con?= =?UTF-8?q?figuration=20file=20for=20OpenCommit=20with=20default=20setting?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zshrc/opencommit.zsh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 zshrc/opencommit.zsh diff --git a/zshrc/opencommit.zsh b/zshrc/opencommit.zsh new file mode 100644 index 0000000..cb26c4e --- /dev/null +++ b/zshrc/opencommit.zsh @@ -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 \ No newline at end of file