From fb818078b47a5a145444e2c58660d23d1d553bb5 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 03:00:15 +0000 Subject: [PATCH] Initial upload: Git Commit AI - privacy-first CLI for generating commit messages with local LLM --- .git-commit-ai/config.yaml | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .git-commit-ai/config.yaml diff --git a/.git-commit-ai/config.yaml b/.git-commit-ai/config.yaml new file mode 100644 index 0000000..1d6657a --- /dev/null +++ b/.git-commit-ai/config.yaml @@ -0,0 +1,44 @@ +# Git Commit AI Configuration +# All settings can be overridden via environment variables + +# Ollama Settings +ollama: + model: "qwen2.5-coder:3b" + base_url: "http://localhost:11434" + timeout: 120 + retries: 3 + +commit: + max_length: 80 + num_suggestions: 3 + conventional_by_default: false + +conventional: + types: + - feat + - fix + - docs + - style + - refactor + - perf + - test + - build + - ci + - chore + - revert + max_scope_length: 20 + +cache: + enabled: true + directory: ".git-commit-ai/cache" + ttl_hours: 24 + max_size_mb: 100 + +prompts: + directory: ".git-commit-ai/prompts" + default: "default.txt" + conventional: "conventional.txt" + +output: + show_diff: false + interactive: false