From 0b409ec3ff20e7a5f209e7fa7a6570fe79437972 Mon Sep 17 00:00:00 2001 From: David Ibia Date: Sat, 8 Mar 2025 15:52:53 +0100 Subject: [PATCH] Update OpenCommit configuration: - Changed AI provider from 'llama3' to 'mistral' - Updated API key and model version for OpenAI - Set One Line Commit to true, enabling one-line commit messages - Added GitPush and Why options with default values set to false - Created backup of previous configuration as .opencommit.backup --- .opencommit | 15 +++++++++++++++ .opencommit.backup | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .opencommit create mode 100644 .opencommit.backup diff --git a/.opencommit b/.opencommit new file mode 100644 index 0000000..de2b44d --- /dev/null +++ b/.opencommit @@ -0,0 +1,15 @@ +OCO_MODEL=mistral:latest +OCO_API_URL=http://localhost:11434/api/chat +OCO_API_KEY=field-cannot-be-blank +OCO_AI_PROVIDER=ollama +OCO_TOKENS_MAX_INPUT=40960 +OCO_TOKENS_MAX_OUTPUT=4096 +OCO_DESCRIPTION=false +OCO_EMOJI=false +OCO_LANGUAGE=en +OCO_MESSAGE_TEMPLATE_PLACEHOLDER=$msg +OCO_PROMPT_MODULE=conventional-commit +OCO_ONE_LINE_COMMIT=true +OCO_TEST_MOCK_TYPE=commit-message +OCO_GITPUSH=false +OCO_WHY=false diff --git a/.opencommit.backup b/.opencommit.backup new file mode 100644 index 0000000..e820c0d --- /dev/null +++ b/.opencommit.backup @@ -0,0 +1,15 @@ +OCO_MODEL=llama3:latest +OCO_API_URL=http://localhost:11434/api/chat +OCO_API_KEY=some-api-key-here +OCO_AI_PROVIDER=ollama +OCO_TOKENS_MAX_INPUT=40960 +OCO_TOKENS_MAX_OUTPUT=4096 +OCO_DESCRIPTION=false +OCO_EMOJI=false +OCO_LANGUAGE=en +OCO_MESSAGE_TEMPLATE_PLACEHOLDER=$msg +OCO_PROMPT_MODULE=conventional-commit +OCO_ONE_LINE_COMMIT=false +OCO_TEST_MOCK_TYPE=commit-message +OCO_GITPUSH=false +OCO_WHY=false