Commit graph

5592 commits

Author SHA1 Message Date
Paul Gauthier (aider)
4eb8be9d06 fix: Mock Coder.send() instead of Coder.create and Model 2024-08-01 15:37:34 -03:00
Paul Gauthier (aider)
b29a6e8fa4 style: Format Python code with black 2024-08-01 15:36:29 -03:00
Paul Gauthier (aider)
a480b90217 feat: add unit tests for Python scripting API 2024-08-01 15:36:26 -03:00
Paul Gauthier
f7d0f0c604 feat: Add basic scripting tests 2024-08-01 15:36:24 -03:00
Paul Gauthier
aad52eaae2 fix: Update Coder import path in test_main.py 2024-08-01 15:32:39 -03:00
Paul Gauthier
387b2710b0 fix: Refactor Coder creation to use GitRepo instance 2024-08-01 15:30:49 -03:00
Paul Gauthier
dec8425236 fix: Use None as the working directory for GitRepo in base_coder.py 2024-08-01 15:25:57 -03:00
Paul Gauthier
283ac13d2c Fix tests to use new GitRepo 2024-08-01 15:25:31 -03:00
Paul Gauthier (aider)
ff3d067d94 feat: use weak model first for summarizer in Coder 2024-08-01 14:55:22 -03:00
Paul Gauthier (aider)
ede3f3dfcb feat: Use weak model first in ChatSummary 2024-08-01 14:55:09 -03:00
Paul Gauthier
60ec3c9228 fix: Use default max_chat_history_tokens if not provided 2024-08-01 14:55:08 -03:00
Paul Gauthier (aider)
9bf518fff7 fix: Remove unused import of Coder 2024-08-01 14:53:07 -03:00
Paul Gauthier
0ea2b8bcfe fix: Add coder reference to commands 2024-08-01 14:52:59 -03:00
Paul Gauthier (aider)
b0e6373c77 style: format imports in main.py 2024-08-01 14:50:29 -03:00
Paul Gauthier (aider)
f98a229c31 refactor: Refactor ChatSummary initialization and remove max_chat_history_tokens parameter from Coder 2024-08-01 14:50:26 -03:00
Paul Gauthier (aider)
df70119da0 style: Apply linter formatting changes 2024-08-01 14:50:00 -03:00
Paul Gauthier (aider)
aa3e17dae6 refactor: Refactor ChatSummary initialization and remove max_chat_history_tokens param from Coder 2024-08-01 14:49:54 -03:00
Paul Gauthier
2ee34ac189 fix: Remove unused verify_ssl argument from main function 2024-08-01 14:49:52 -03:00
Paul Gauthier (aider)
7a3a189f8c fix: Remove verify_ssl parameter from Coder.__init__ 2024-08-01 14:47:33 -03:00
Paul Gauthier (aider)
9ca5bab087 style: Apply linter formatting changes 2024-08-01 14:46:22 -03:00
Paul Gauthier (aider)
2f3cd436a6 fix: Remove unused import and update Commands initialization in main.py 2024-08-01 14:46:17 -03:00
Paul Gauthier (aider)
b5e51d138e refactor: Initialize Commands instance in Coder 2024-08-01 14:45:57 -03:00
Paul Gauthier (aider)
70fbe10643 feat: Initialize GitRepo in main, pass it into Coder 2024-08-01 14:43:17 -03:00
Paul Gauthier
2fe3701f22 copy 2024-08-01 14:37:38 -03:00
Paul Gauthier (aider)
73bf90f007 feat: Add /add-clipboard-image command 2024-08-01 14:31:48 -03:00
Paul Gauthier
15f589f642 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-01 12:37:48 -03:00
Paul Gauthier
3d1138b6c2 Commit any linter edits 2024-08-01 12:36:49 -03:00
paul-gauthier
ddf36d0b4f
Merge pull request #978 from gordonlukch/main 2024-08-01 07:34:32 -03:00
gordonlukch
741c82b6f4
Update docker.md (added one para on docker run .... --user $(id -u):$(id -g) ) 2024-07-31 21:45:48 +01:00
Paul Gauthier
59c51aa368 set version to 0.47.2-dev 2024-07-31 17:23:18 -03:00
Paul Gauthier
5f82c19f59 version bump to 0.47.1 2024-07-31 17:21:40 -03:00
Paul Gauthier
b9d912f432 fix: Update prompts.py to follow Conventional Commits guidelines 2024-07-31 15:32:04 -03:00
Paul Gauthier
2521e990e7 feat: add commit message guidelines to prompts.py
The commit message guidelines provide clear instructions for software engineers on how to structure and format commit messages that follow the Conventional Commits specification. This will help maintain a consistent and meaningful commit history for the project.
2024-07-31 13:12:07 -03:00
Paul Gauthier
870f1f4cfa copy 2024-07-31 12:15:22 -03:00
Paul Gauthier
a6c261dd69 updated blame.yml 2024-07-31 11:35:02 -03:00
Paul Gauthier (aider)
acfaa8c001 feat: sort YAML keys alphabetically
The provided changes ensure that the YAML keys are sorted alphabetically when dumping the results and the individual result in the `scripts/blame.py` file. This will provide a deterministic order for the output, making it more consistent across different runs of the script.
2024-07-31 11:30:11 -03:00
Paul Gauthier
2cc529192d copy 2024-07-31 11:25:21 -03:00
Paul Gauthier
3ae32570d1 set version to 0.47.1-dev 2024-07-31 11:19:12 -03:00
Paul Gauthier
e3339ba227 version bump to 0.47.0 2024-07-31 11:17:35 -03:00
Paul Gauthier
360e311bea copy 2024-07-31 10:59:44 -03:00
Paul Gauthier
aac2ab7c9b copy 2024-07-31 10:56:10 -03:00
Paul Gauthier
b15e96a7b0 Move new args to Other section 2024-07-31 10:53:43 -03:00
Paul Gauthier
928c094b42 Updated HISTORY 2024-07-31 10:51:42 -03:00
Paul Gauthier (aider)
0255030988 feat: add message for non-all-since runs
The commit adds a message to the output when the `--all-since` option is not used, which prints the percentage of code written by Aider in the current release.
2024-07-31 10:51:09 -03:00
Paul Gauthier
3a70ea9faf copy 2024-07-31 10:45:25 -03:00
Paul Gauthier
c63aa97d9d copy 2024-07-31 10:30:27 -03:00
Paul Gauthier
13b0d51028 feat(install): add full version instructions for Docker
The above changes add instructions for installing the full version of the Aider application using Docker, which includes additional features like interactive help, the browser GUI, and Playwright support for web scraping.
2024-07-31 10:29:12 -03:00
Paul Gauthier (aider)
dde7906cf1 fix: correct the {bin,...} in Dockerfile 2024-07-31 10:20:48 -03:00
Paul Gauthier
711ca9df08 feat(docker): add permissions kludges to support docker run --user xxx
The changes in this commit add some permission kludges to the Docker image to support running the container with the `--user` flag. Specifically, it:

- Adds permissions to the virtual environment directory and subdirectories to allow read/write/execute access for all users.
- Creates the `.aider` and `.cache` directories and grants read/write/execute access to all users.

This ensures that the container can be run with a non-root user without encountering permission issues.
2024-07-31 10:20:47 -03:00
Paul Gauthier (aider)
67c4df09fd feat: create virtual environment for aider installation
The changes in this commit create a virtual environment for the aider application in the Docker image. The key changes are:

1. Removes the permission-related commands that were modifying system directories.
2. Creates a virtual environment at `/venv` and adds it to the PATH.
3. Installs aider and its dependencies into the virtual environment.
4. Updates the ENTRYPOINT to use the aider executable from the virtual environment.
5. Copies the aider source to a temporary directory (`/tmp/aider`) for installation, then removes it after installation.

These changes should address the concerns about modifying system permissions while still allowing the container to function properly for different users.
2024-07-31 10:14:29 -03:00