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 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
|
||||||
|
|||||||
Reference in New Issue
Block a user