Initial upload: Add git-commit-ai project with CLI tool for AI-powered commit messages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user