From 7e2571c064cb95280596b27488e07c2363947541 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 03:41:31 +0000 Subject: [PATCH] Initial upload: Add git-commit-ai project with CLI tool for AI-powered commit messages --- .git-commit-ai/config.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.git-commit-ai/config.yaml b/.git-commit-ai/config.yaml index 1d6657a..7a85a38 100644 --- a/.git-commit-ai/config.yaml +++ b/.git-commit-ai/config.yaml @@ -3,17 +3,27 @@ # Ollama Settings ollama: + # Default Ollama model to use model: "qwen2.5-coder:3b" + # Ollama API base URL base_url: "http://localhost:11434" + # Timeout for API requests in seconds timeout: 120 + # Number of retry attempts on failure retries: 3 +# Commit Message Settings commit: + # Maximum length for generated messages max_length: 80 + # Number of suggestions to generate num_suggestions: 3 + # Enable conventional commit format by default conventional_by_default: false +# Conventional Commit Settings conventional: + # Valid commit types types: - feat - fix @@ -26,19 +36,32 @@ conventional: - ci - chore - revert + # Maximum scope length max_scope_length: 20 +# Cache Settings cache: + # Enable caching enabled: true + # Cache directory directory: ".git-commit-ai/cache" + # Cache TTL in hours (0 = no expiry) ttl_hours: 24 + # Maximum cache size in MB max_size_mb: 100 +# Prompt Settings prompts: + # Custom prompts directory directory: ".git-commit-ai/prompts" + # Default prompt template default: "default.txt" + # Conventional commit prompt template conventional: "conventional.txt" +# Output Settings output: + # Show diff in output show_diff: false + # Use interactive mode by default interactive: false