# QuicCommit Configuration Example # Copy this file to your config directory and modify as needed: # - Linux: ~/.config/quicommit/config.toml # - macOS: ~/Library/Application Support/quicommit/config.toml # - Windows: %APPDATA%\quicommit\config.toml # Configuration version (for migration) version = "1" # Default profile to use when no repo-specific profile is set default_profile = "personal" # Profile definitions [profiles.personal] name = "personal" user_name = "Your Name" user_email = "your.email@example.com" description = "Personal projects" is_work = false [profiles.work] name = "work" user_name = "Your Name" user_email = "your.name@company.com" description = "Work projects" is_work = true organization = "Your Company" # SSH configuration for work profile [profiles.work.ssh] private_key_path = "/home/user/.ssh/id_rsa_work" agent_forwarding = true # GPG configuration for work profile [profiles.work.gpg] key_id = "YOUR_GPG_KEY_ID" program = "gpg" use_agent = true # LLM Configuration [llm] # Provider: ollama, openai, or anthropic provider = "ollama" max_tokens = 500 temperature = 0.7 timeout = 30 # Ollama settings (local LLM) [llm.ollama] url = "http://localhost:11434" model = "llama2" # OpenAI settings [llm.openai] # api_key = "sk-..." # Set via: quicommit config set-openai-key model = "gpt-4" base_url = "https://api.openai.com/v1" # Anthropic settings [llm.anthropic] # api_key = "sk-ant-..." # Set via: quicommit config set-anthropic-key model = "claude-3-sonnet-20240229" # Commit settings [commit] # Format: conventional or commitlint format = "conventional" auto_generate = true allow_empty = false gpg_sign = false max_subject_length = 100 require_scope = false require_body = false body_required_types = ["feat", "fix"] # Tag settings [tag] version_prefix = "v" auto_generate = true gpg_sign = false include_changelog = true # Changelog settings [changelog] path = "CHANGELOG.md" auto_generate = true format = "keep-a-changelog" # or "github-releases" include_hashes = false include_authors = false group_by_type = true # Theme settings [theme] colors = true icons = true date_format = "%Y-%m-%d" # Repository-specific profile mappings # [repo_profiles] # "/path/to/work/project" = "work" # "/path/to/personal/project" = "personal"