Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1185 commits
Select commit Hold shift + click to select a range
8304029
lint
paul-gauthier May 26, 2025
1d0e463
increase context window of Deepseek V3 to new OpenRouter limits
therealmarv May 27, 2025
87dee0a
reduce output tokens again
therealmarv May 27, 2025
119a44d
Merge pull request #4114 from therealmarv/increase-deepseek-v3-openro…
paul-gauthier May 27, 2025
d7504be
copy
paul-gauthier May 30, 2025
3f2c403
feat: Add openrouter/anthropic/claude-opus-4 model config
paul-gauthier May 30, 2025
a7afbd0
feat: Add claude-opus-4 and update default OpenRouter models
paul-gauthier May 30, 2025
05c56fe
fix: Fix OpenRouter token cost calculation
paul-gauthier May 30, 2025
6085be5
copy
paul-gauthier May 30, 2025
c24798c
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier May 30, 2025
52510c7
test: Update OpenRouter default model expectations
paul-gauthier May 30, 2025
48376e5
style: Apply formatting
paul-gauthier May 30, 2025
e331a96
fix: Update expected OpenRouter costs in tests
paul-gauthier May 30, 2025
196721d
version bump to 0.84.0
paul-gauthier May 30, 2025
6fdc956
set version to 0.84.1.dev
paul-gauthier May 30, 2025
6d872b6
copy
paul-gauthier May 30, 2025
fc30409
blame
paul-gauthier May 30, 2025
45ad3cd
copy
paul-gauthier May 30, 2025
0bb0f16
docs: Add link to release notes
paul-gauthier May 31, 2025
7ffd9c1
feat: add commit language option for commit message localization
ktakayama Jun 1, 2025
91f34e3
docs: add commit-language option to config and documentation files
ktakayama Jun 1, 2025
6eaf75f
test: add test for commit-language option
ktakayama Jun 1, 2025
484b8a3
Merge pull request #4146 from ktakayama/issues/4049-commit-language
paul-gauthier Jun 1, 2025
3951880
set fixed utf-8 encoding for llm history log
muravvv May 28, 2025
bfaad12
add missing encoding conversion for diff contents
muravvv Jun 1, 2025
3266eac
Merge pull request #4150 from muravvv/fix_encoding
paul-gauthier Jun 1, 2025
c67f690
fix: Always pass `extra_headers` to Copilot models
sestrella Jun 2, 2025
fa0aa94
Merge pull request #4156 from stackbuilders/always_pass_extra_headers…
paul-gauthier Jun 2, 2025
295122f
Merge pull request #4057 from emmanuel-ferdman/main
paul-gauthier Jun 2, 2025
09b2d49
Use system prompt prefix for commit messages
lreeves Jun 3, 2025
7897d02
Merge pull request #4161 from lreeves/main
paul-gauthier Jun 3, 2025
29874f1
feat: validation and errors for copilot requests
vinnymac Jun 3, 2025
b9a9b4c
Merge pull request #4163 from vinnymac/vt/copilot-token-debug
paul-gauthier Jun 3, 2025
db0f7d1
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 3, 2025
b259226
lint
paul-gauthier Jun 3, 2025
c4fcc5a
VSCode Copilot no longer writes out tokens
jesstelford Jun 5, 2025
836aaec
Merge pull request #4172 from jesstelford/patch-1
paul-gauthier Jun 5, 2025
77472e5
feat: Add gemini-2.5-pro-preview-06-05 model settings
paul-gauthier Jun 6, 2025
c0509ad
chore: Update gemini alias to use 06-05 model
paul-gauthier Jun 6, 2025
8c1ae95
chore: Add metadata for gemini-2.5-pro-preview-06-05
paul-gauthier Jun 6, 2025
6b7a056
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 6, 2025
2bc71cf
copy
paul-gauthier Jun 6, 2025
a7ccdaf
feat: Add thinking_tokens setting to Gemini 2.5 Pro 06-05 models
paul-gauthier Jun 6, 2025
3064477
bump deps
paul-gauthier Jun 6, 2025
f827f22
cleanup
paul-gauthier Jun 6, 2025
4c161f9
build: Pin networkx to <3.5 for py3.10 compatibility
paul-gauthier Jun 6, 2025
837b8a9
Merge pull request #3609 from omarcinkonis/main
paul-gauthier Jun 7, 2025
e67c932
fix: Correct Vertex AI model name prefixes in settings
wietsevenema Jun 7, 2025
4c50fc6
Let 'rich' use code_theme as inline_code_theme
tanavamsikrishna Jun 8, 2025
8d48def
Merge pull request #4193 from tanavamsikrishna/main
paul-gauthier Jun 8, 2025
150711d
Merge pull request #4182 from wietsevenema/main
paul-gauthier Jun 8, 2025
226e23f
chore: update max tokens for deepseek-coder
paul-gauthier Jun 8, 2025
789aab8
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 8, 2025
cc8be14
style: Add whitespace in tests
paul-gauthier Jun 8, 2025
1953c98
fix: Remove unused mock_stdout in tests
paul-gauthier Jun 8, 2025
0ac6068
fix: Remove unused mock_stdout in test_main
paul-gauthier Jun 8, 2025
990a056
fix: Remove unused mock_stdout in tests
paul-gauthier Jun 8, 2025
7a83f03
Skip expensive `get_tracked_files` call if `skip_sanity_check_repo` i…
holoskii Jun 9, 2025
e256ffd
chore: Add Gemini 2.5 Pro results to leaderboard
paul-gauthier Jun 9, 2025
47ddce3
chore: Add DeepSeek R1 benchmark results
paul-gauthier Jun 9, 2025
3e07d06
Merge pull request #4199 from holoskii/large-repo-speedup
paul-gauthier Jun 9, 2025
df5b780
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 9, 2025
d55beb5
fix: Adjust analytics repo file count condition
paul-gauthier Jun 9, 2025
5562caa
copy
paul-gauthier Jun 9, 2025
67e190c
Adds support for openai/o3-pro
solatis Jun 11, 2025
17d40a6
Merge pull request #4210 from solatis/main
paul-gauthier Jun 11, 2025
e54ac08
fix: Vertex AI model names use vertex_ai/ prefix
ei-grad May 14, 2025
2df4beb
Merge pull request #4022 from ei-grad/fix-vertex-ai
paul-gauthier Jun 12, 2025
1daeb01
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 13, 2025
e91efda
feat: add support for disabling thinking tokens with value 0
maliayas Jun 15, 2025
72c2380
Merge pull request #4228 from maliayas/reset-thinking-tokens
paul-gauthier Jun 15, 2025
262117d
doc: add correct path for github copilot token for windows users
daniel-sc Jun 17, 2025
f8855eb
Merge pull request #4236 from daniel-sc/patch-1
paul-gauthier Jun 17, 2025
ae94521
Update gemini models in model-settings.yml
nims11 Jun 18, 2025
1677db3
Add gemini model metadata
nims11 Jun 19, 2025
3cb120e
Merge pull request #4242 from nims11/update-gemini
paul-gauthier Jun 19, 2025
0c480b7
Support model `openrouter/google/gemini-2.5-pro` official
KennyDizi Jun 20, 2025
bb1b9e8
Add meta data for `openrouter/google/gemini-2.5-pro`
KennyDizi Jun 20, 2025
9fdc6d4
Merge pull request #4254 from KennyDizi/main
paul-gauthier Jun 20, 2025
90f9c81
Update analytics.md
paul-gauthier Jun 20, 2025
a29ae3e
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 20, 2025
caf212c
bump deps
paul-gauthier Jun 20, 2025
a1c2eeb
style: Line wrap long string literals
paul-gauthier Jun 20, 2025
ae927d8
style: Use triple quotes for docstring
paul-gauthier Jun 20, 2025
fdb49e1
docs: Add Hacker News quote to Kind Words section
paul-gauthier Jun 20, 2025
9188ced
style: Fix line length in cmd_think_tokens docstring
paul-gauthier Jun 20, 2025
1bdd4f0
style: Format code
paul-gauthier Jun 20, 2025
a2d345f
docs: Condense docstring for think_tokens command
paul-gauthier Jun 20, 2025
f161107
fix: Ensure pip is available before installation
paul-gauthier Jun 20, 2025
52d0443
feat: Auto-create parent directories for chat history files
contributor Jun 23, 2025
20429b6
add MATLAB tags to enable repo map support
mtofano Jun 23, 2025
f9fc2c6
Merge pull request #4260 from mtofano/add-matlab-repomap-support
paul-gauthier Jun 23, 2025
7c9cff2
refactor: update HEAD regex to accept optional closing tag in search …
FeepingCreature Jun 24, 2025
05ca9e5
add Gemini 2.5 non-preview Vertex models
therealmarv Jun 24, 2025
89356e8
copy
paul-gauthier Jun 24, 2025
37b7a7b
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 24, 2025
90ecde4
copy
paul-gauthier Jun 24, 2025
a785b0f
Merge pull request #4268 from therealmarv/add-gemini-2.5-vertex-gener…
paul-gauthier Jun 24, 2025
c4b9f14
fix: Resolve literal paths correctly in /read-only command
iamFIREcracker Jun 24, 2025
6a00d8f
Merge pull request #4269 from iamFIREcracker/fix-for-literal-read-onl…
paul-gauthier Jun 24, 2025
d909366
copy
paul-gauthier Jun 24, 2025
f695e71
feat: better place to create history file dirs (InputOutput ctr)
contributor Jun 25, 2025
d85078a
Merge pull request #4257 from contributor/chat-history-files-auto-cre…
paul-gauthier Jun 25, 2025
fb4d2f9
fix: check for input_history_file none
contributor Jun 25, 2025
856d94c
Merge pull request #4271 from contributor/chat-history-files-auto-cre…
paul-gauthier Jun 25, 2025
d5ae9ef
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 25, 2025
5e9daa3
Revert "fix: check for input_history_file none"
paul-gauthier Jun 25, 2025
b787e17
Revert "feat: better place to create history file dirs (InputOutput c…
paul-gauthier Jun 25, 2025
d022f4a
Merge pull request #4264 from FeepingCreature/fix/4277-accept-taggy-diff
paul-gauthier Jun 25, 2025
32cdb7c
copy
paul-gauthier Jun 25, 2025
75f1a33
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 25, 2025
5b317e5
copy
paul-gauthier Jun 25, 2025
14af218
fix: Create parent directories for history files and improve error ha…
paul-gauthier Jun 25, 2025
e2d3fc4
fix: Update Co-authored-by email to [email protected]
paul-gauthier Jun 25, 2025
63a7d26
bump deps
paul-gauthier Jun 25, 2025
74ee340
chore: Increase Deepseek v3 max tokens to 65536
paul-gauthier Jun 25, 2025
15806aa
feat: Enable co-authored-by by default
paul-gauthier Jun 25, 2025
22cdacc
copy
paul-gauthier Jun 25, 2025
ba97c83
Merge pull request #4028 from garrett-hopper/clojure-repomap
paul-gauthier Jun 25, 2025
d9e3ede
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 25, 2025
d47cb40
test: Add Clojure language repomap test fixture
paul-gauthier Jun 25, 2025
a0ffc57
Merge pull request #3870 from susliko/custom-posthog-instance
paul-gauthier Jun 25, 2025
63c9277
Merge pull request #3764 from jayeshthk/main
paul-gauthier Jun 25, 2025
338cfb4
Revert "bump deps"
paul-gauthier Jun 25, 2025
8fe52d7
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jun 25, 2025
320ee06
style: Add trailing commas to improve formatting
paul-gauthier Jun 25, 2025
19a7864
refactor: Remove unused head variable in ChatSummary
paul-gauthier Jun 25, 2025
323910b
test: Improve summary test with list-aware token counting mock
paul-gauthier Jun 25, 2025
68f05f5
bump deps
paul-gauthier Jun 25, 2025
c48fea6
copy
paul-gauthier Jun 25, 2025
f5a512b
refactor: Remove -n short flag from benchmark --new option
paul-gauthier Jun 25, 2025
ae539fb
copy
paul-gauthier Jun 25, 2025
d5785b5
copy
paul-gauthier Jun 27, 2025
66cdfde
copy
paul-gauthier Jun 27, 2025
e0e2cb1
chore: Ignore Docker bash history file
paul-gauthier Jun 27, 2025
a544112
version bump to 0.85.0
paul-gauthier Jun 27, 2025
4f4f00f
set version to 0.85.1.dev
paul-gauthier Jun 27, 2025
540b27b
blame
paul-gauthier Jun 28, 2025
5318380
chore: Update polyglot leaderboard data
paul-gauthier Jun 28, 2025
3fec903
chore: Remove commented out extra_params from model settings
paul-gauthier Jun 28, 2025
f4605b2
feat: Display model announcements with no-arg /model command
paul-gauthier Jun 29, 2025
302b0cb
chore: Add latest polyglot leaderboard results and adjust display cap
paul-gauthier Jun 30, 2025
59a5190
copy
paul-gauthier Jun 30, 2025
9c9c6fe
version bump to 0.85.1
paul-gauthier Jun 30, 2025
ac46e14
set version to 0.85.2.dev
paul-gauthier Jun 30, 2025
966cf2b
copy
paul-gauthier Jun 30, 2025
02c2773
fix: Remove existing model settings before adding new ones
ei-grad Jul 1, 2025
3db4d37
Merge pull request #4300 from ei-grad/robust-model-settings-override
paul-gauthier Jul 1, 2025
456db69
Remove extra duplicated line in default commit instructions
o-nix Jul 4, 2025
0967024
Merge pull request #4307 from o-nix/patch-1
paul-gauthier Jul 4, 2025
1a57730
fix: add missing output for clear command
yzx9 Jul 8, 2025
f22fbf9
Merge pull request #4321 from yzx9/missing-cmd-output
paul-gauthier Jul 8, 2025
6c16498
fix: Display first line of commit messages in /undo output
paul-gauthier Jul 8, 2025
ef59ecb
Add gemini 2.5 flash lite preview 06-17
tamirzb Jul 9, 2025
6a28864
Merge pull request #4324 from tamirzb/main
paul-gauthier Jul 9, 2025
eab5124
feat: Add xai/grok-4 model settings
paul-gauthier Jul 10, 2025
bd78b9f
feat: Add openrouter/x-ai/grok-4 model setting
paul-gauthier Jul 10, 2025
f7870b6
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Jul 10, 2025
7bc2e4e
feat: Add Grok-4 and Gemini Flash Lite, enhance CLI, fix model settings
paul-gauthier Jul 11, 2025
c24c2c8
Update model-metadata.json
sentienthouseplant Jul 12, 2025
c3f0bdd
Add kimi-k2 to model resources.
sentienthouseplant Jul 12, 2025
63d3dbc
Add source for openrouter kimi-k2 information. Remove `reminder: sys`.
sentienthouseplant Jul 12, 2025
90dffa9
Merge pull request #4342 from sentienthouseplant/bau-add-kimi-k2
paul-gauthier Jul 12, 2025
102f6ef
feat: Add Kimi K2 model data to polyglot leaderboard
paul-gauthier Jul 15, 2025
2a18a18
copy
paul-gauthier Jul 15, 2025
fe3f771
copy
paul-gauthier Jul 15, 2025
1a0ef64
copy
paul-gauthier Jul 15, 2025
853532c
version bump to 0.85.2
paul-gauthier Jul 15, 2025
b336dee
set version to 0.85.3.dev
paul-gauthier Jul 15, 2025
915ebff
Update polyglot_leaderboard.yml
paul-gauthier Jul 17, 2025
9d6ddcd
chore: Remove Kimi K2 model metadata and add test results
paul-gauthier Jul 17, 2025
89ad2ba
copy
paul-gauthier Jul 17, 2025
f38200c
copy
paul-gauthier Jul 18, 2025
3402b15
chore: prettier scripting usage for faq
Aug 5, 2025
1af0e59
Merge pull request #4410 from liam61/main
paul-gauthier Aug 5, 2025
ac40a4c
add test results for gpt-oss-120b (high) to polyglot leaderboard
Oct4Pie Aug 6, 2025
3c9e180
bump deps
paul-gauthier Aug 7, 2025
8904e29
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Aug 7, 2025
ad39fdb
bump deps
paul-gauthier Aug 7, 2025
ece9803
bump deps without llama-index-core==0.12.26
paul-gauthier Aug 7, 2025
6c7870d
copy
paul-gauthier Aug 7, 2025
70f2bbb
copy
paul-gauthier Aug 7, 2025
9d778bf
version bump to 0.85.3
paul-gauthier Aug 7, 2025
c23ebfe
set version to 0.85.4.dev
paul-gauthier Aug 7, 2025
ac7e274
fix: Adapt to new PostHog SDK capture method signature
paul-gauthier Aug 7, 2025
8c982f8
feat: Disable temperature for GPT-5 models
paul-gauthier Aug 7, 2025
d9d13f2
copy
paul-gauthier Aug 7, 2025
0b13b27
version bump to 0.85.4
paul-gauthier Aug 7, 2025
53c1432
set version to 0.85.5.dev
paul-gauthier Aug 7, 2025
ad49e56
fix: Accurately match gpt-5 and gpt-5-2025-08-07 models
paul-gauthier Aug 7, 2025
ceb8136
feat: Enforce diff edit format for GPT-5 models
paul-gauthier Aug 7, 2025
3a6f217
feat: Add reasoning_effort setting support for GPT-5 models
paul-gauthier Aug 7, 2025
7440a01
copy
paul-gauthier Aug 7, 2025
9702b1c
version bump to 0.85.5
paul-gauthier Aug 7, 2025
3b91964
set version to 0.85.6.dev
paul-gauthier Aug 7, 2025
a14cb22
feat: Add GPT-5 model family settings
paul-gauthier Aug 8, 2025
4e7c9f2
fix: Remove editor settings from models using gpt-5 nano weak model
paul-gauthier Aug 8, 2025
071d177
feat: Add OpenAI and OpenRouter GPT-5 model settings
paul-gauthier Aug 9, 2025
f57c0f6
feat: blame: Detect aider commits using co-authored-by
paul-gauthier Aug 9, 2025
f3d5f20
blame
paul-gauthier Aug 9, 2025
b782437
copy
paul-gauthier Aug 9, 2025
3d8290c
copy
paul-gauthier Aug 9, 2025
4cd71ac
copy
paul-gauthier Aug 9, 2025
a4be6cc
version bump to 0.86.0
paul-gauthier Aug 9, 2025
01a9b88
set version to 0.86.1.dev
paul-gauthier Aug 9, 2025
0862128
copy
paul-gauthier Aug 9, 2025
a7d3fdc
copy
paul-gauthier Aug 9, 2025
5a3b2f3
feat: Add flash-lite model alias
paul-gauthier Aug 9, 2025
2f5bb77
Merge pull request #4412 from Oct4Pie/bench/gpt-oss-120b-high
paul-gauthier Aug 11, 2025
9fda5c9
chore: Update polyglot leaderboard model name and command
paul-gauthier Aug 11, 2025
0a88f7c
feat: Add EthicalAds script and ad placement
paul-gauthier Aug 11, 2025
da45632
fix: Adjust ad placement for narrow screens
paul-gauthier Aug 11, 2025
5761b08
refactor: Remove unused ad styles from head_custom.html
paul-gauthier Aug 12, 2025
450a535
feat: Add reasoning_effort setting to gpt-5 models
paul-gauthier Aug 13, 2025
2b98a9e
copy
paul-gauthier Aug 13, 2025
07e2559
copy
paul-gauthier Aug 13, 2025
b8b521f
version bump to 0.86.1
paul-gauthier Aug 13, 2025
59250e0
set version to 0.86.2.dev
paul-gauthier Aug 13, 2025
32faf82
chore: Update base image to python:3.10-slim-bookworm
paul-gauthier Aug 13, 2025
ad19c7b
bump deps
paul-gauthier Aug 16, 2025
bfef190
Update polyglot_leaderboard.yml
lreeves Aug 23, 2025
54b266f
Update polyglot_leaderboard.yml with medium and low reasoning
lreeves Aug 25, 2025
f6ad53e
added julia tree sitter
mubashir1osmani Sep 1, 2025
37ab5e4
Merge pull request #4475 from lreeves/patch-1
paul-gauthier Sep 2, 2025
bd3c5df
Merge branch 'main' of github.com:Aider-AI/aider
paul-gauthier Sep 2, 2025
c4b06c0
copy
paul-gauthier Sep 2, 2025
b3d339a
copy
paul-gauthier Sep 2, 2025
60c578e
added source + license
mubashir1osmani Sep 5, 2025
e4fc2f5
Merge pull request #4493 from mubashir1osmani/main
paul-gauthier Sep 5, 2025
5777ab9
added tags for FORTRAN
varchasgopalaswamy Sep 25, 2025
f8aa803
Merge pull request #4534 from varchasgopalaswamy/main
paul-gauthier Sep 26, 2025
39b0c25
added tags for FORTRAN
khulnasoft-bot Sep 29, 2025
b2379d5
Merge pull request #4541 from khulnasoft-bot/patch-1
paul-gauthier Sep 29, 2025
a121410
chore: Remove ethicalads.io scripts and divs
paul-gauthier Sep 29, 2025
249e389
copy
paul-gauthier Sep 29, 2025
82a31cc
Feature request: support for Bedrock/Claude 4.5 #4543
Sep 29, 2025
73409a5
Merge pull request #4544 from zlemisie/main
paul-gauthier Sep 29, 2025
a3bbb5e
Support for gpt-5-codex
mlang Sep 30, 2025
6963e65
Merge pull request #4547 from mlang/gpt-5-codex
paul-gauthier Sep 30, 2025
cbb5376
feat: update deepseek model metadata and add deepseek-reasoner
gcp Oct 3, 2025
484e47d
chore: add deepseek model test results to leaderboard
gcp Oct 3, 2025
d47d689
Merge pull request #4551 from gcp/deepseek32-pricing
paul-gauthier Oct 3, 2025
cb6a152
chore: update deepseek model names and metadata
gcp Oct 4, 2025
1a6d035
Merge pull request #4552 from gcp/deepseek32-pricing
paul-gauthier Oct 4, 2025
bfed819
Remove duplicate instruction in what language model should respond
muravvv Sep 15, 2025
11516d6
Merge pull request #4557 from muravvv/remove_duplicated_language
paul-gauthier Oct 5, 2025
3c3aff1
Add Ollama cloud model integration
claude Oct 26, 2025
821207f
chore(deps): bump uv
dependabot[bot] Oct 27, 2025
d0ef7c0
Merge pull request #1 from Thundernight1/dependabot/pip/requirements/…
Thundernight1 Oct 27, 2025
7bdc9eb
Create SECURITY.md
Thundernight1 Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions .github/workflows/check_pypi_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Check PyPI Version

# Check to be sure `pip install aider-chat` installs the most recently published version.
# If dependencies get yanked, it may render the latest version uninstallable.
# See https://github.com/Aider-AI/aider/issues/3699 for example.

on:
schedule:
# Run once a day at midnight UTC
- cron: '0 0 * * *'
workflow_dispatch: # Allows manual triggering

jobs:
check_version:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install aider-chat
run: pip install aider-chat

- name: Get installed aider version
id: installed_version
run: |
set -x # Enable debugging output
aider_version_output=$(aider --version)
if [ $? -ne 0 ]; then
echo "Error: 'aider --version' command failed."
exit 1
fi
echo "Raw aider --version output: $aider_version_output"

# Extract version number (format X.Y.Z)
version_num=$(echo "$aider_version_output" | grep -oP '\d+\.\d+\.\d+')

# Check if grep found anything
if [ -z "$version_num" ]; then
echo "Error: Could not extract version number using grep -oP '\d+\.\d+\.\d+' from output: $aider_version_output"
exit 1
fi

echo "Extracted version number: $version_num"
echo "version=$version_num" >> $GITHUB_OUTPUT

- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags

- name: Get latest tag
id: latest_tag
run: |
set -x # Enable debugging output
# Fetch all tags from remote just in case
git fetch --tags origin main
# Get the latest tag that strictly matches vX.Y.Z (no suffixes like .dev)
# List all tags, sort by version descending, filter for exact pattern, take the first one
latest_tag=$(git tag --sort=-v:refname | grep -P '^v\d+\.\d+\.\d+$' | head -n 1)

if [ -z "$latest_tag" ]; then
echo "Error: Could not find any tags matching the pattern '^v\d+\.\d+\.\d+$'"
exit 1
fi

echo "Latest non-dev tag: $latest_tag"
# Remove 'v' prefix for comparison
tag_num=${latest_tag#v}
echo "Extracted tag number: $tag_num"
echo "tag=$tag_num" >> $GITHUB_OUTPUT

- name: Compare versions
run: |
echo "Installed version: ${{ steps.installed_version.outputs.version }}"
echo "Latest tag version: ${{ steps.latest_tag.outputs.tag }}"
if [ "${{ steps.installed_version.outputs.version }}" != "${{ steps.latest_tag.outputs.tag }}" ]; then
echo "Error: Installed aider version (${{ steps.installed_version.outputs.version }}) does not match the latest tag (${{ steps.latest_tag.outputs.tag }})."
exit 1
fi
echo "Versions match."
48 changes: 48 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: pre-commit
on:
pull_request:
push:
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
env:
RAW_LOG: pre-commit.log
CS_XML: pre-commit.xml
steps:
- run: sudo apt-get update && sudo apt-get install cppcheck uncrustify
if: false
- uses: actions/checkout@v4
- run: python -m pip install pre-commit
- uses: actions/cache/restore@v4
with:
path: ~/.cache/pre-commit/
key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit hooks
env:
SKIP: no-commit-to-branch
run: |
set -o pipefail
pre-commit gc
pre-commit run --show-diff-on-failure --color=always --all-files | tee ${RAW_LOG}
- name: Convert Raw Log to Checkstyle format (launch action)
uses: mdeweerd/[email protected]
if: ${{ failure() }}
with:
in: ${{ env.RAW_LOG }}
# out: ${{ env.CS_XML }}
- uses: actions/cache/save@v4
if: ${{ ! cancelled() }}
with:
path: ~/.cache/pre-commit/
key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Provide log as artifact
uses: actions/upload-artifact@v4
if: ${{ ! cancelled() }}
with:
name: precommit-logs
path: |
${{ env.RAW_LOG }}
${{ env.CS_XML }}
retention-days: 2
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- name: Check out repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- name: Check out repository
Expand Down
90 changes: 90 additions & 0 deletions .github/workflows/windows_check_pypi_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Windows Check PyPI Version

# Check to be sure `pip install aider-chat` installs the most recently published version on Windows.
# If dependencies get yanked, it may render the latest version uninstallable.
# See https://github.com/Aider-AI/aider/issues/3699 for example.

on:
schedule:
# Run once a day at 1 AM UTC (offset from Ubuntu check)
- cron: '0 1 * * *'
workflow_dispatch: # Allows manual triggering

jobs:
check_version:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
defaults:
run:
shell: pwsh # Use PowerShell for all run steps

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install aider-chat
run: pip install aider-chat

- name: Get installed aider version
id: installed_version
run: |
Write-Host "Running 'aider --version'..."
$aider_version_output = aider --version
if ($LASTEXITCODE -ne 0) {
Write-Error "Error: 'aider --version' command failed."
exit 1
}
Write-Host "Raw aider --version output: $aider_version_output"

# Extract version number (format X.Y.Z) using PowerShell regex
$match = [regex]::Match($aider_version_output, '\d+\.\d+\.\d+')

if (-not $match.Success) {
Write-Error "Error: Could not extract version number using regex '\d+\.\d+\.\d+' from output: $aider_version_output"
exit 1
}
$version_num = $match.Value

Write-Host "Extracted version number: $version_num"
echo "version=$version_num" >> $env:GITHUB_OUTPUT

- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags

- name: Get latest tag
id: latest_tag
run: |
Write-Host "Fetching tags..."
# Fetch all tags from remote just in case
git fetch --tags origin main
Write-Host "Getting latest non-dev tag..."
# Get the latest tag that strictly matches vX.Y.Z (no suffixes like .dev)
# List all tags, sort by version descending, filter for exact pattern, take the first one
$latest_tag = (git tag --sort=-v:refname | Select-String -Pattern '^v\d+\.\d+\.\d+$' | Select-Object -First 1).Line

if (-not $latest_tag) {
Write-Error "Error: Could not find any tags matching the pattern '^v\d+\.\d+\.\d+$'"
exit 1
}

Write-Host "Latest non-dev tag: $latest_tag"
# Remove 'v' prefix for comparison
$tag_num = $latest_tag.Substring(1)
Write-Host "Extracted tag number: $tag_num"
echo "tag=$tag_num" >> $env:GITHUB_OUTPUT

- name: Compare versions
run: |
Write-Host "Installed version: ${{ steps.installed_version.outputs.version }}"
Write-Host "Latest tag version: ${{ steps.latest_tag.outputs.tag }}"
if ("${{ steps.installed_version.outputs.version }}" -ne "${{ steps.latest_tag.outputs.tag }}") {
Write-Error "Error: Installed aider version (${{ steps.installed_version.outputs.version }}) does not match the latest tag (${{ steps.latest_tag.outputs.tag }})."
exit 1
}
Write-Host "Versions match."
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ aider/_version.py
.venv/
.#*
.gitattributes
tmp.benchmarks/
tmp.benchmarks/
.docker_bash_history
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ repos:
rev: v2.2.6
hooks:
- id: codespell
args: ["--skip", "aider/website/docs/languages.md"]
additional_dependencies:
- tomli
Loading