Commit graph

635 commits

Author SHA1 Message Date
Paul Gauthier
3ce3799f8d Implemented checks to ensure files with uncommitted changes or not present in previous commit cannot be undone safely. 2024-07-18 16:32:45 +01:00
Paul Gauthier
4fbe3d295a added [playwright] extra 2024-07-14 19:34:48 +01:00
Paul Gauthier
9ed0e33b9f refactor help install and add to test setup 2024-07-14 17:49:33 +01:00
Paul Gauthier
76dad84285 added [browser] extra; refac the pip install utils 2024-07-14 17:22:17 +01:00
Paul Gauthier (aider)
b4e827ef63 Added support for handling absolute paths in the glob_filtered_to_repo method. 2024-07-12 17:13:22 +01:00
Paul Gauthier
504a72b5cb handle failed install of hf-embed 2024-07-10 17:35:13 +01:00
Paul Gauthier
f688c18b65 offer to install aider[hf] 2024-07-10 16:20:06 +01:00
Paul Gauthier
e4c637724f For /help, turn down the repo map 2024-07-06 17:11:24 -03:00
Paul Gauthier
9ab36b565d better in chat commands table 2024-07-05 13:38:06 -03:00
Paul Gauthier
500cc151a1 Merge branch 'main' into help 2024-07-05 13:29:01 -03:00
Paul Gauthier
5122121265 allow multiple undo 2024-07-05 13:19:37 -03:00
Paul Gauthier (aider)
9e90dbc20d Printed the commit message of the undone commit and the hash and commit message of the current HEAD after the undo operation. 2024-07-05 13:06:49 -03:00
Paul Gauthier
d0267f0ece Improved the handling of last commit detection and diff generation in the aider commands. 2024-07-05 13:06:47 -03:00
Paul Gauthier
af48cc3e4c wip 2024-07-04 16:06:12 -03:00
Paul Gauthier
ca6fcc42c8 restored basic help 2024-07-04 14:47:49 -03:00
Paul Gauthier
9f39c8db44 added HelpCoder 2024-07-04 14:29:19 -03:00
Paul Gauthier
9d02628cf8 streamlit borks sys.path, causes import("litellm") to load our litellm.py; fix 2024-07-03 21:32:50 -03:00
Paul Gauthier
3c1a6acc0d handle files with spaces 2024-07-03 20:12:04 -03:00
Paul Gauthier
4b0192ffd9 cache the completions in AutoCompleter 2024-07-03 20:08:51 -03:00
Paul Gauthier
60e838df9f roughed in faster completions 2024-07-03 19:49:37 -03:00
Paul Gauthier
b454579cd6 Avoid importing openai 2024-07-03 13:11:39 -03:00
Amir Elaguizy (aider)
65f50cf6d0 Reordered the output of files in chat and repo to improve readability. 2024-07-01 07:48:33 -05:00
Paul Gauthier
c1e55614f7 Don't rely on (aider) in git name field to police /undo #698 2024-06-27 07:15:06 -07:00
Paul Gauthier
9e228670a2 append (aider) to author if aider wrote the code 2024-06-18 11:18:52 -07:00
Paul Gauthier
39f10aefe0 Finished removing reliance on aider: 2024-06-18 10:05:10 -07:00
paul-gauthier
9382fa1091
Merge pull request #629 from youknow04/main 2024-06-11 11:44:04 -07:00
Paul Gauthier
e3cc69d0c8 coq for in-chat commands 2024-06-05 20:10:48 -07:00
youknow
80f1a868ff remove unnecessary return 2024-05-31 03:02:07 +09:00
Paul Gauthier
0e71d262e3 change error message 2024-05-24 13:34:51 -07:00
Paul Gauthier
d48edfcd00 fix missing env 2024-05-24 12:59:48 -07:00
Paul Gauthier
d41bf592a0 Set GIT_EDITOR environment variable only if it is not already set. 2024-05-24 12:43:53 -07:00
Aleksandr Bobrov
231fa46125
Update cmd_commit method signature to accept an optional args parameter. 2024-05-24 14:57:42 +04:00
Aleksandr Bobrov
311ae04314
aider: Fix issue in cmd_commit to set commit_message to None if args does not exist.
# Aider chat conversation:

USER: I did `git reset --hard HEAD~1` to discard the last edits. Please wait for further instructions before attempting that change again. Feel free to ask relevant questions about why the changes were reverted.

ASSISTANT: Understood. If you have any specific instructions or changes you would like to make, please let me know!

USER: in `cmd_commit` issue if args not exist please fix, as leave commit_message as None

ASSISTANT: To fix the issue in `cmd_commit` when `args` does not exist, we need to ensure that `commit_message` is set to `None` if `args` is not provided. Here are the changes:

1. Check if `args` is provided and set `commit_message` to `None` if it is not.

Here is the *SEARCH/REPLACE* block:

aider/commands.py
<source>python
<<<<<<< SEARCH
        commit_message = args.strip()
=======
        commit_message = args.strip() if args else None
>>>>>>> REPLACE
</source>
2024-05-24 14:52:40 +04:00
Paul Gauthier
52ac35fcd2 restore --show-diffs functionality #607 2024-05-23 14:07:20 -07:00
Paul Gauthier
2ed5e45677 fixed #603 2024-05-23 14:01:45 -07:00
Paul Gauthier
fb76895eb1 Merge branch 'main' into swe-bench 2024-05-23 13:36:23 -07:00
Paul Gauthier
5032adf44b Add the url content 2024-05-22 21:25:34 -07:00
Paul Gauthier
899fc88a14 Merge branch 'main' into swe-bench 2024-05-22 15:01:03 -07:00
Paul Gauthier
210679f020 Use the test_cmd by default 2024-05-22 12:05:29 -07:00
Paul Gauthier
449cbf507f Allow test_cmd to be a callable 2024-05-20 10:22:31 -07:00
Paul Gauthier
fa0aa60c97 Merge branch 'main' into swe-bench 2024-05-20 09:39:29 -07:00
Paul Gauthier
57a2c61386 updated lint cmd descriptions 2024-05-20 09:01:22 -07:00
Paul Gauthier
9c28bbc98e Refactored linting process and error handling in commands. 2024-05-20 08:55:49 -07:00
Paul Gauthier
e758b01fb6 Merge branch 'main' into swe-bench 2024-05-19 15:20:46 -07:00
Paul Gauthier
9ee332f5d9 Added options for automatic linting and testing after changes. 2024-05-19 07:34:19 -07:00
Paul Gauthier
6474139d04 Lint files before fixing errors and commit changes if necessary. 2024-05-18 21:13:19 -07:00
Paul Gauthier
d79a629db0 Fix tool error message to display the correct error information. 2024-05-18 21:06:45 -07:00
Paul Gauthier
fec1a646d5 Refactored linting process to handle FileNotFoundError exceptions. 2024-05-18 21:06:30 -07:00
Paul Gauthier
bc06d8623c Updated lint command to commit after fixing problems. 2024-05-18 19:30:32 -07:00
Paul Gauthier
66f53db927 Fixed a bug where the method was checking the wrong object for dirtiness. 2024-05-18 19:17:56 -07:00