Aider configuration for local Ollama qwen2.5-coder:14b model with git operations disabled and auto-yes mode enabled
Configure Aider to use local Ollama qwen2.5-coder:14b model with git operations completely disabled and automatic yes mode for non-interactive operation.
This skill provides an Aider configuration that:
1. **Verify Prerequisites**
- Check that Ollama is installed and running locally
- Confirm qwen2.5-coder:14b model is available: `ollama list`
- If not installed, pull it: `ollama pull qwen2.5-coder:14b`
- Verify Ollama API is accessible at `http://localhost:11434/v1`
2. **Create Configuration File**
- Navigate to your project root directory
- Create or update `.aider.conf.yml` with the following content:
```yaml
model: ollama/qwen2.5-coder:14b
openai-api-base: http://localhost:11434/v1
openai-api-key: ollama
gitignore: false
yes-always: true
no-git: true # Disable git integration entirely
no-auto-commits: true # Disable automatic commits
no-dirty-commits: true # Don't commit if repo is dirty
git: false # Explicitly disable git
auto-commits: false # Explicitly disable auto commits
commit: false # Disable commit functionality
no-suggest-shell-commands: true
no-auto-test: true
```
3. **Verify Configuration**
- Run `aider --help` to check available options
- Start Aider: `aider`
- Confirm it connects to Ollama and loads the qwen2.5-coder:14b model
- Verify no git warnings appear in the output
4. **Test the Setup**
- Ask Aider to make a small code change
- Confirm the change is applied without any git commit
- Check that file operations proceed without prompts (yes-always mode)
**Model Settings:**
**File Operations:**
**Git Disabled (Redundant Settings for Safety):**
**Safety:**
To use a different Ollama model, change the `model` line:
```yaml
model: ollama/codellama:13b # Alternative: CodeLlama
model: ollama/deepseek-coder # Alternative: DeepSeek Coder
```
To re-enable git (not recommended without careful review):
```yaml
auto-commits: true
dirty-commits: true
```
To add interactive prompts back:
```yaml
yes-always: false # Will prompt before file changes
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-qwen25-coder-local-configuration/raw