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
|
4a3ea08b49
|
Add OCaml test case for repomap
|
2024-07-30 15:03:54 -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)
|
16eadba5e5
|
Modify process_all_tags_since function to include all data for each tag pair in --all output
|
2024-07-30 10:16:38 -03:00 |
|
Paul Gauthier (aider)
|
7d5e666ea7
|
Make the start tag an optional positional argument and use the latest vX.Y.0 tag if no start tag is provided.
|
2024-07-30 10:14:58 -03:00 |
|
Paul Gauthier (aider)
|
b9b04052c7
|
Modify the test to check if the linter was called with a filename string whose Path().name matches the expected filename.
|
2024-07-30 10:10:39 -03:00 |
|
Paul Gauthier
|
33d9f46e25
|
Add unit test to verify cmd_lint calls linter with correct filename
|
2024-07-30 10:10:37 -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)
|
122eb8834a
|
Normalize file paths to resolve symbolic links in macOS when comparing absolute file names between coders.
|
2024-07-29 17:26:14 -03:00 |
|
Paul Gauthier
|
7baa4a802e
|
Add test to ensure abs_fnames contain unique and correct paths
|
2024-07-29 17:26:12 -03:00 |
|
Paul Gauthier (aider)
|
78e7b0b922
|
Use a more specific assertion method in the test case
|
2024-07-29 17:17:50 -03:00 |
|
Paul Gauthier (aider)
|
d4f5330f55
|
Fix typo in assertion for "I ran this command"
|
2024-07-29 17:17:31 -03:00 |
|
Paul Gauthier
|
11facfe4d5
|
Add test for cmd_run method to handle unbound local error
|
2024-07-29 17:17:29 -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 (aider)
|
23a9ade113
|
Modify the test to ensure cmd_run returns without errors
|
2024-07-29 17:10:09 -03:00 |
|
Paul Gauthier (aider)
|
c8e5c27a2f
|
Add a test to trigger the UnboundLocalError bug in the cmd_run method
Commit message: Add test to trigger UnboundLocalError in cmd_run method
|
2024-07-29 17:07:51 -03:00 |
|
Paul Gauthier
|
b69bf02115
|
Refactor Coder creation to use file name instead of string representation
|
2024-07-29 17:05:20 -03:00 |
|
Paul Gauthier (aider)
|
775dd9e6b8
|
Create a new file in a subdirectory of a git repository, then create a Coder instance from that file and another Coder instance from the first one, ensuring both have the same set of absolute file names.
|
2024-07-29 16:57:19 -03:00 |
|
Paul Gauthier
|
149db2e5fe
|
Add test for creating a Coder from another Coder with a subdirectory
|
2024-07-29 16:57:16 -03:00 |
|
Paul Gauthier (aider)
|
0a61e83c2b
|
Fix the test_cmd_lint_with_dirty_file test to handle the MagicMock object returned by the lint method.
|
2024-07-29 16:46:56 -03:00 |
|
Paul Gauthier (aider)
|
24c8363aa8
|
Fix unused import of unittest in tests/basic/test_commands.py
|
2024-07-29 16:45:59 -03:00 |
|
Paul Gauthier
|
f90cd6b69b
|
Add unit tests for the cmd_lint command
|
2024-07-29 16:45:57 -03:00 |
|
Paul Gauthier (aider)
|
cf35c2db4e
|
Fix the test_cmd_lint_with_dirty_file test to use mocking instead of captured output
|
2024-07-29 16:45:21 -03:00 |
|
Paul Gauthier
|
bb7465e05d
|
Modify test_commands.py to mock linter.lint method and assert it was called with the dirty file
|
2024-07-29 16:45:18 -03:00 |
|