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
Paul Gauthier
6b6f9e9ed4
Added conditional check to only commit if there are dirty files.
2024-05-18 19:17:38 -07:00
Paul Gauthier
04084883e8
Added a new command to run the linter on dirty files, fix problems, and then commit.
2024-05-18 18:35:33 -07:00
Paul Gauthier
819fccc7a4
added temp param, prompt strong that files message is truth
2024-05-16 08:52:30 -07:00
Paul Gauthier
9ff6770a04
refactored litellm to avoid duplicating workarounds
2024-05-08 08:05:15 -07:00
Paul Gauthier
665b9044c8
added autocomplete for model names
2024-04-30 16:29:10 -07:00
Paul Gauthier
304856fc60
roughed in model switch
2024-04-30 16:22:13 -07:00
Paul Gauthier
050d35790e
added /models cmd
2024-04-30 16:02:38 -07:00
Paul Gauthier
e610e5bd0a
Handle existing dirnames with [globby] chars, with test #195
2024-04-30 15:50:24 -07:00
Paul Gauthier
ce5abf8c79
working undo
2024-04-27 16:47:07 -07:00
Paul Gauthier
dcb6100ce9
Add web page
2024-04-27 15:28:08 -07:00
Paul Gauthier
0969380ce9
copy
2024-04-19 16:42:25 -07:00
Paul Gauthier
f81b62dfea
Added --require-model-info
2024-04-19 14:01:02 -07:00
Paul Gauthier
6cecbd02d6
Document new model support
2024-04-19 13:18:12 -07:00
Paul Gauthier
547ae142ba
refactor tokenizer
2024-04-19 12:08:35 -07:00
Paul Gauthier
fbcbe137ab
cleanup
2024-04-18 16:21:15 -07:00
Paul Gauthier
0da1b59901
Fixed up images in chat
2024-04-18 14:39:32 -07:00
Paul Gauthier
f1c09ececf
Switched voice to litellm
2024-04-18 14:13:26 -07:00
Paul Gauthier
3662a4680b
token pricing
2024-04-17 15:34:59 -07:00
Paul Gauthier
a84b4f8144
Add the ability to add images that are located outside the git repo #519
2024-04-12 08:26:49 -07:00