Initial upload: Add git-commit-ai project with CLI tool for AI-powered commit messages
Some checks failed
CI / test (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-01-31 03:41:31 +00:00
parent 87956e021f
commit 7e2571c064

View File

@@ -3,17 +3,27 @@
# Ollama Settings # Ollama Settings
ollama: ollama:
# Default Ollama model to use
model: "qwen2.5-coder:3b" model: "qwen2.5-coder:3b"
# Ollama API base URL
base_url: "http://localhost:11434" base_url: "http://localhost:11434"
# Timeout for API requests in seconds
timeout: 120 timeout: 120
# Number of retry attempts on failure
retries: 3 retries: 3
# Commit Message Settings
commit: commit:
# Maximum length for generated messages
max_length: 80 max_length: 80
# Number of suggestions to generate
num_suggestions: 3 num_suggestions: 3
# Enable conventional commit format by default
conventional_by_default: false conventional_by_default: false
# Conventional Commit Settings
conventional: conventional:
# Valid commit types
types: types:
- feat - feat
- fix - fix
@@ -26,19 +36,32 @@ conventional:
- ci - ci
- chore - chore
- revert - revert
# Maximum scope length
max_scope_length: 20 max_scope_length: 20
# Cache Settings
cache: cache:
# Enable caching
enabled: true enabled: true
# Cache directory
directory: ".git-commit-ai/cache" directory: ".git-commit-ai/cache"
# Cache TTL in hours (0 = no expiry)
ttl_hours: 24 ttl_hours: 24
# Maximum cache size in MB
max_size_mb: 100 max_size_mb: 100
# Prompt Settings
prompts: prompts:
# Custom prompts directory
directory: ".git-commit-ai/prompts" directory: ".git-commit-ai/prompts"
# Default prompt template
default: "default.txt" default: "default.txt"
# Conventional commit prompt template
conventional: "conventional.txt" conventional: "conventional.txt"
# Output Settings
output: output:
# Show diff in output
show_diff: false show_diff: false
# Use interactive mode by default
interactive: false interactive: false