# .aider.conf.yml
# Check this into the repo so humans stop passing flags by hand.

# Choose exactly one model block for your default.
# Local example (Ollama). Make sure the model exists locally.
model: ollama/qwen2.5-coder:7b
# model: anthropic/claude-3-5-sonnet-20241022
# model: openai/gpt-4o-mini

# When using Ollama's OpenAI-compatible endpoint, point aider at it.
openai-api-base: http://127.0.0.1:11434/v1

# Git integration is the default workflow.
git: true

# Watch files so aider keeps context fresh as you edit.
watch: true

# Limit the agent's world. Keep these tight.
files:
  - src/**
  - tests/**
  - pyproject.toml
  - package.json
  - README.md

# Optional: provider API keys can come from env vars instead of flags.
# env:
#   ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
#   OPENAI_API_KEY: ${OPENAI_API_KEY}

# Optional: conversation memory (tweak per project needs)
# max-chat-history: 20

# Optional: reduce noise in big repos
# exclude:
#   - node_modules/**
#   - build/**
