Files
git-commit-ai/.git-commit-ai/config.yaml
7000pctAUTO 7e2571c064
Some checks failed
CI / test (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled
Initial upload: Add git-commit-ai project with CLI tool for AI-powered commit messages
2026-01-31 03:41:31 +00:00

68 lines
1.4 KiB
YAML

# Git Commit AI Configuration
# All settings can be overridden via environment variables
# 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
- docs
- style
- refactor
- perf
- test
- build
- 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