AI-Assisted Commits
Generate commit messages using AI.
Supported Providers
- Claude (Anthropic)
- OpenAI (GPT-4, GPT-3.5)
- Ollama (Local models)
Setup
Claude
- Go to Settings > AI
- Select Claude
- Enter your Anthropic API key
OpenAI
- Go to Settings > AI
- Select OpenAI
- Enter your OpenAI API key
- Choose model (GPT-4 recommended)
Ollama
- Install Ollama
- Pull a model:
ollama pull llama2 - In Axis, select Ollama
- Choose your local model
Generating Messages
- Stage your changes
- Click the AI button next to the commit field
- Review the generated message
- Edit if needed
- Commit
Tips
- Stage related changes together for better messages
- Review and adjust AI suggestions
- Use for inspiration, not blind acceptance
