Paul Gauthier
c822a8093a
copy
2024-07-31 10:04:14 -03:00
Paul Gauthier
dd166a1492
copy
2024-07-31 09:56:52 -03:00
Paul Gauthier
1aaa8365d2
more debug if pip installs fail
2024-07-31 09:52:41 -03:00
Paul Gauthier
080953760f
formatting
2024-07-31 09:52:18 -03:00
Paul Gauthier (aider)
f85a9c1195
feat: add commit_prompt parameter to Coder.__init__ and pass it to GitRepo
...
The commit_prompt parameter is added to the Coder.__init__ method and passed to the GitRepo initialization. This allows users to provide a custom commit prompt when using the Coder class.
2024-07-31 09:48:54 -03:00
Paul Gauthier (aider)
1275171b90
feat: add support for the new commit_prompt arg to override prompts.commit_system
...
The GitRepo class in the aider/repo.py file has been updated to support a new `commit_prompt` argument. This allows overriding the default `prompts.commit_system` when generating commit messages.
The changes include:
1. Adding the `commit_prompt` parameter to the `__init__` method of the `GitRepo` class.
2. Storing the `commit_prompt` value in the `self.commit_prompt` attribute.
3. Modifying the `get_commit_message` method to use the `self.commit_prompt` value if it's provided, otherwise falling back to the default `prompts.commit_system`.
This change provides more flexibility in customizing the commit message generation process, allowing users to provide their own custom prompts if needed.
2024-07-31 09:47:49 -03:00
Paul Gauthier (aider)
4dfdddf0d9
feat: add --commit-prompt switch
...
The new `--commit-prompt` switch allows users to specify a custom prompt for generating commit messages. This feature is implemented by adding the new argument to the argument parser in `aider/args.py` and passing it to the `Coder.create` method in `aider/main.py`.
2024-07-31 09:46:13 -03:00
Paul Gauthier
a436568ef5
copy
2024-07-31 09:10:18 -03:00
Paul Gauthier
199e25fc16
feat(prompts): Add Conventional Commits guidelines to commit message prompt
2024-07-31 09:06:31 -03:00
Paul Gauthier
e1a9fd69e6
Implement playwright installation with dependencies and use system python executable.
2024-07-31 08:53:21 -03:00
Paul Gauthier
266f58416c
copy
2024-07-30 20:44:29 -03:00
Paul Gauthier (aider)
41772ccef6
Ensure ChatSummary has at least one model available and use the first model's max input tokens for summarization
2024-07-30 20:37:30 -03:00
Paul Gauthier
1677f7ede8
Do general autocomplete if /cmd doesn't have its own
2024-07-30 16:43:29 -03:00
Paul Gauthier (aider)
5d0ba54e07
Refactor get_completions
method to extract command completion logic into a separate function
2024-07-30 16:36:13 -03:00
Paul Gauthier
59ad370611
Improve linter error handling by replacing invalid characters and adding error handling for subprocess.
2024-07-30 15:21:01 -03:00
Paul Gauthier
a84cad4a59
Add encoding and error handling to subprocess call in Commands class
2024-07-30 15:19:38 -03:00
Paul Gauthier (aider)
9b129a7f03
Update the subprocess calls to use the specified encoding.
2024-07-30 15:18:51 -03:00
Paul Gauthier
9c406cd176
Add linting for all dirty files in the repository
2024-07-30 15:09:41 -03:00
Paul Gauthier (aider)
07780326b4
Use more efficient method to get all dirty files in cmd_lint
2024-07-30 15:09:04 -03:00
Paul Gauthier
5f9275a3c2
Add dirty tracked files to the list of files to lint
2024-07-30 15:09:03 -03:00
Paul Gauthier (aider)
795467f206
Update the OCaml tags file to follow the same pattern as the Python tags file.
2024-07-30 15:02:52 -03:00
Paul Gauthier
d24a5feab4
Update the OCaml tags query to improve module and function handling
2024-07-30 15:00:58 -03:00
Paul Gauthier
e6883e1072
Simpler added_files reply message
2024-07-30 14:56:38 -03:00
Paul Gauthier
3dd150608d
copy
2024-07-30 12:31:27 -03:00
Paul Gauthier
e2fb2466a9
Improve linter support and repo map coverage for various programming languages.
2024-07-30 12:30:29 -03:00
Paul Gauthier (aider)
74201dd733
Add two new columns to the get_supported_languages_md
function: Repo map and Linter, and check the existence of the SCM file and linter support for each language.
2024-07-30 12:26:01 -03:00
Paul Gauthier (aider)
bcd802b6e9
Add retry support for litellm.InternalServerError
in the send_with_retries
function in aider/sendchat.py
.
2024-07-30 12:23:41 -03:00
Paul Gauthier (aider)
cba53bfc22
Add retry support for litellm.InternalServerError
2024-07-30 12:23:33 -03:00
Paul Gauthier
9706002769
Auto commit before lint/test/etc
2024-07-30 12:19:32 -03:00
Paul Gauthier (aider)
0980985338
Add fallback to second model when first model fails in ChatSummary
2024-07-30 12:16:32 -03:00
Paul Gauthier (aider)
963420d16f
Initialize ChatSummary with main and weak models
2024-07-30 12:04:31 -03:00
Paul Gauthier (aider)
4fe8cca0e9
Fix ChatSummary
to take a list of models and work down the list until one succeeds.
2024-07-30 11:57:36 -03:00
Paul Gauthier
2e4de1a0d3
Add support for multiple models in ChatSummary class
2024-07-30 11:57:34 -03:00
Paul Gauthier
3c04850339
move cog/author to end of leaderboard, was preventing it from showing in nav
2024-07-30 10:33:09 -03:00
Paul Gauthier
7c50e5d7af
drop dangling comma
2024-07-30 10:29:40 -03:00
Paul Gauthier
d1bce18899
updated blame.yml with full data
2024-07-30 10:23:17 -03:00
Paul Gauthier (aider)
3ee30a62de
Update aider_lines field to aider_total in blame.md
2024-07-30 10:22:25 -03:00
Paul Gauthier (aider)
167abdf851
Remove unused imports in linter.py
2024-07-29 20:29:14 -03:00
Paul Gauthier
5edce8ae1b
Add linter output to the dump for debugging
2024-07-29 20:28:43 -03:00
Paul Gauthier (aider)
9c24d41d41
Remove unused cost_report
variable in calculate_and_show_tokens_and_cost
method
2024-07-29 17:32:03 -03:00
Paul Gauthier
384a5f2ea5
Update Coder class to use absolute file names instead of relative file names
2024-07-29 17:31:54 -03:00
Paul Gauthier (aider)
c0a2b8b57c
Ensure instructions
variable is always defined in cmd_run
method
2024-07-29 17:11:31 -03:00
Paul Gauthier
05ee45c31f
Prompt user to fix lint errors before committing changes
2024-07-29 16:42:20 -03:00
Paul Gauthier (aider)
f62e5bd883
Get all dirty files in the repo if no files are specified
2024-07-29 16:35:40 -03:00
Paul Gauthier
958b608467
Add fallback to get all dirty files in the repo if no files are provided for linting.
2024-07-29 16:35:38 -03:00
Paul Gauthier
1a3466e413
do not summarize when switching to code or ask mode
2024-07-29 13:43:27 -03:00
Paul Gauthier (aider)
a67da8a133
Update the modification date in the leaderboard index page based on the latest modification time of the related files
2024-07-29 13:13:56 -03:00
Paul Gauthier
2ec8099319
Update the leaderboards page with author and last updated date.
2024-07-29 13:13:55 -03:00
Paul Gauthier (aider)
7d04fc2183
Add Python code to print the last modified date of the leaderboards index.md file
2024-07-29 13:09:32 -03:00
Paul Gauthier
9791ab7bdc
Update leaderboard documentation with last modified date and author
2024-07-29 13:09:31 -03:00