Commit graph

3455 commits

Author SHA1 Message Date
Paul Gauthier
ed6d30c849 copy 2023-12-17 18:25:29 -08:00
Paul Gauthier
8c9536bcdd copy 2023-12-17 18:23:45 -08:00
Paul Gauthier
9807dbdeb1 copy 2023-12-17 18:19:18 -08:00
Paul Gauthier
20c1f10c30 copy 2023-12-17 18:18:40 -08:00
Paul Gauthier
330b4140c7 copy 2023-12-17 17:17:34 -08:00
Paul Gauthier
33c337f407 copy 2023-12-17 17:10:33 -08:00
Paul Gauthier
200cb12504 copy 2023-12-17 16:46:02 -08:00
Paul Gauthier
616aca8656 copy 2023-12-17 16:45:11 -08:00
Paul Gauthier
e27d5d26b7 copy 2023-12-17 15:27:38 -08:00
Paul Gauthier
f0b60a0052 Add clear instruction on how to make a new file 2023-12-17 15:25:15 -08:00
Paul Gauthier
042a2b8a08 pull the filename from the +++ line 2023-12-17 15:19:34 -08:00
paul-gauthier
6165fcc960
Merge pull request #403 from paul-gauthier/udiff-simple-squashed
Unified diffs editing format
2023-12-17 13:36:54 -08:00
Paul Gauthier
7ab3b99914 copy 2023-12-17 13:36:19 -08:00
Paul Gauthier
99abb25f79 copy 2023-12-17 13:06:14 -08:00
Paul Gauthier
c46024e76a art 2023-12-17 13:05:22 -08:00
Paul Gauthier
1e38577a3c Announce repo size 2023-12-17 13:01:47 -08:00
Paul Gauthier
0d4b6b6885 added missing files 2023-12-17 13:00:32 -08:00
Paul Gauthier
360846320f announce the edit format 2023-12-17 12:58:48 -08:00
Paul Gauthier
7113a30271 unified diffs 2023-12-17 12:54:34 -08:00
Paul Gauthier
3aa17c46dd set version to 0.18.2-dev 2023-12-14 12:21:50 -08:00
Paul Gauthier
52fdb17e96 version bump to 0.18.1 2023-12-14 12:21:20 -08:00
Paul Gauthier
ab24bce3b4 Updated HISTORY 2023-12-14 12:20:48 -08:00
Joshua Vial
9aa7beff72 add feature for adding an image to context 2023-12-11 22:42:12 +13:00
Joshua Vial
90d5071709 fix failing tests 2023-12-11 22:37:23 +13:00
Joshua Vial
9ceaf97f08 making image code more robust 2023-12-11 22:25:35 +13:00
Joshua Vial
f9ba8e7b41 Remove unnecessary comment and method call in Commands class. 2023-12-11 22:24:02 +13:00
Joshua Vial
c919f9f0c6 handle switching to gpt4-vision-preview 2023-12-11 22:23:54 +13:00
Joshua Vial
90fb538015 fix logic for image switching 2023-12-11 22:23:32 +13:00
Joshua Vial
d0255ce2ae better logic for image handling 2023-12-11 22:23:03 +13:00
Joshua Vial
3d8599617d Switch to gpt-4-vision-preview if baseurl.host includes api.openai.com/ and gpt-4, otherwise strip out any image_url messages. 2023-12-11 20:56:20 +13:00
Joshua Vial
b7d90197a9 update openrouter model to work with new openai client 2023-12-11 20:50:27 +13:00
Joshua Vial
fe9423d7b8 merge in openai upgrade 2023-12-11 20:43:18 +13:00
Paul Gauthier
92f4100c92 be careful about too much convo history, avoid swamping the model with too much context 2023-12-08 12:11:57 -08:00
Paul Gauthier
560759f0c0 show the repomap before the added files 2023-12-08 09:18:03 -08:00
Paul Gauthier
cab7460f94 catch 404s from azure on models.list 2023-12-07 07:44:21 -08:00
Paul Gauthier
ad092152d0 Revert "max_apply_update_errors = 1 for quick benchmark"
This reverts commit fd71b6a4a5.
2023-12-07 07:43:06 -08:00
Paul Gauthier
fd71b6a4a5 max_apply_update_errors = 1 for quick benchmark 2023-12-06 14:35:57 -08:00
Paul Gauthier
fb7a7acb73 Merge remote-tracking branch 'origin/main' 2023-12-06 14:15:46 -08:00
paul-gauthier
1f07c8f48d
Merge pull request #391 from paul-gauthier/openai-upgrade
Openai upgrade
2023-12-06 14:13:33 -08:00
Paul Gauthier
fc9e956340 added pre-commit to dev-reqs 2023-12-06 14:11:32 -08:00
Paul Gauthier
ff96369ed6 cleanup 2023-12-06 14:09:32 -08:00
Paul Gauthier
67e6fed9eb Merge branch 'main' into openai-upgrade 2023-12-06 09:32:32 -08:00
Paul Gauthier
bce0279ae6 fixed test_main_message_adds_to_input_history 2023-12-06 09:32:01 -08:00
Paul Gauthier
9d2f89dd75 fix test 2023-12-06 09:30:19 -08:00
Paul Gauthier
922a56b194 Merge branch 'main' into openai-upgrade 2023-12-06 09:26:05 -08:00
Paul Gauthier
b85ed45504 add deployment_id to AzureOpenAI call per @itlackey 2023-12-06 09:22:04 -08:00
Paul Gauthier
57ab2cc9da Revert "implement deployment id"
This reverts commit b107db98fa.
2023-12-06 09:20:53 -08:00
paul-gauthier
5cd0efecee
Merge pull request #380 from VariousForks/message_as_file_with_unittest 2023-12-05 15:03:57 -08:00
Your Name
4692a689fe Improvements: flag -f (not -mf); unitest improvements. 2023-12-05 23:55:10 +01:00
Your Name
13ac5f0b60 Add --message-file flag and unit test
This commit introduces the `--message-file` flag to the `aider` tool, allowing users to specify a file containing the message to send to GPT. This feature processes the reply and then exits, disabling the chat mode. The implementation includes reading the content of the specified file and using it as the prompt message.

Additionally, a unit test has been added to `tests/test_main.py` to ensure the correct functionality of the `--message-file` flag. The test includes necessary mocks to handle non-interactive environments and verifies that the tool behaves as expected when a message file is provided.

This enhancement improves the usability of the `aider` tool for users who prefer or require non-interactive execution, such as in scripting or automated workflows.
2023-12-05 23:55:10 +01:00