Commit graph

53 commits

Author SHA1 Message Date
Paul Gauthier
6638efbee4 better prompting for LLM to suggest files 2024-05-14 06:02:16 -07:00
Paul Gauthier
1098b428e6 prompt tweaks, retry on httpx.ReadTimeout 2024-05-11 07:47:53 -07:00
Paul Gauthier
877dda2f3d On /undo, ask GPT to wait before retrying the changes #450 2024-01-22 13:05:38 -08:00
Paul Gauthier
69aea3e745 Add summary prefix 2023-07-22 12:11:01 -03:00
Paul Gauthier
0d0ac4f61f works 2023-07-22 10:32:32 -03:00
Paul Gauthier
133c82528e prompt 2023-07-22 10:02:53 -03:00
Paul Gauthier
c8e8967d45 wip 2023-07-22 09:50:41 -03:00
Paul Gauthier
03d2c73621 refactor Editors 2023-06-20 16:26:00 -07:00
Paul Gauthier
2f5f8561b5 prompt 2023-06-05 22:19:51 -07:00
Paul Gauthier
ab5a6e2c19 better approach to redacting historical edits 2023-06-05 22:10:27 -07:00
Paul Gauthier
56d2aa59ee 3.5 prompts 2023-06-04 13:59:43 -07:00
Paul Gauthier
b310bdf44b prompt 2023-06-04 12:07:30 -07:00
Paul Gauthier
9088d139b2 refactor prompts 2023-06-04 11:36:50 -07:00
Paul Gauthier
414b6a3b3e noop 2023-06-04 09:49:49 -07:00
Paul Gauthier
345c3daaa2 wip 2023-06-04 08:57:39 -07:00
Paul Gauthier
4f1e1181c4 Tweaked prompt 2023-06-02 16:30:19 -07:00
Paul Gauthier
bd81ef6201 added newline to prompt 2023-06-02 12:54:28 -07:00
Paul Gauthier
e25cf11aff stronger prompt against editing r/o files 2023-05-29 15:02:51 -07:00
Paul Gauthier
37e3e561f0 Fixed /run output to log 2023-05-28 11:20:08 -07:00
Paul Gauthier
4b8fff69cb copy 2023-05-27 18:01:58 -07:00
Paul Gauthier
e19df5804c updated add prompt 2023-05-27 08:42:03 -07:00
Paul Gauthier
a886ea472b Stronger prompting to only modify full files, not parts of the repo map 2023-05-26 12:59:08 -07:00
Paul Gauthier
69b180cffc expert 2023-05-24 13:43:16 -07:00
Paul Gauthier
fed1265bb4 prompt golf 2023-05-23 15:42:51 -07:00
Paul Gauthier
2238900b34 prompt golf 2023-05-23 15:20:13 -07:00
paul-gauthier
7d08c346bb
Merge pull request #4 from mobyvb/prompt-compression
aider/prompts.py: reduce token size of prompts
2023-05-19 16:10:26 -07:00
Paul Gauthier
f6aaa19299 implement --ctags 2023-05-19 10:07:52 -07:00
Paul Gauthier
8f7d7685d6 improved prompting around ctags 2023-05-19 09:54:27 -07:00
Paul Gauthier
680fc45fb3 improved prompting, fix ctags bug 2023-05-19 09:47:06 -07:00
Paul Gauthier
6dececea84 tweaked layout 2023-05-19 09:04:01 -07:00
Paul Gauthier
d4845dfb43 wip: Changed the prompt messages and added a function to show messages. 2023-05-19 08:57:56 -07:00
Moby von Briesen
24b273b935 aider/prompts.py: reduce prompt size
get rid of nonessential information that causes the prompt to be longer
than needed

main system prompt: 924 chars -> 741 chars (183 chars saved)
system reminder prompt: 1304 chars -> 1168 chars (136 chars saved)
2023-05-18 18:33:29 -04:00
Paul Gauthier
a525a1b543 Ask to add /run output to the chat 2023-05-18 10:13:50 -07:00
Paul Gauthier
3374ae19be wip: Changed prompt messages to use proper grammar and formatting. 2023-05-14 14:54:55 -07:00
Paul Gauthier
3f26a3ec05 main prompt in normal mixed case 2023-05-14 08:19:32 -07:00
Paul Gauthier
4d800b1e31 adopt EDIT BLOCK as the nomenclature in the prompt 2023-05-13 15:13:40 -07:00
Paul Gauthier
3bec170130 better 2023-05-12 23:20:18 -07:00
Paul Gauthier
dc5de1794e better 2023-05-12 23:12:39 -07:00
Paul Gauthier
4eed5a1b90 wip: Refactor prompts.py and coder.py to improve user experience. 2023-05-12 23:00:01 -07:00
Paul Gauthier
669a2fce60 Changed prompts to include more detailed steps and added new description to examples/README. 2023-05-12 21:23:57 -07:00
Paul Gauthier
0c3b772172 prompt eng for new files 2023-05-11 23:24:38 -07:00
Paul Gauthier
f026f1eeeb sniff when GPT mentions files that are not in the chat, prompt the user to add them 2023-05-10 22:05:00 -07:00
Paul Gauthier
35a4a14a6a Avoid sending 2 copies of the added files 2023-05-10 19:13:33 -07:00
Paul Gauthier
fcaf4e15c8 reply with new files content on /add 2023-05-10 18:33:04 -07:00
Paul Gauthier
7a0e020c66 undo print & reply 2023-05-10 18:27:05 -07:00
Paul Gauthier
42ccd9c550 improved completions for /add and /drop 2023-05-10 17:48:15 -07:00
Paul Gauthier
f0e21bb064 added prompt to explain how gpt can create new files 2023-05-10 09:38:54 -07:00
Paul Gauthier
e7604a6545 aider output is red; better commit prompt 2023-05-09 21:05:13 -07:00
Paul Gauthier
7cc87e2afe stronger past tense prompt 2023-05-09 16:10:31 -07:00
Paul Gauthier
227c5e368a stronger prompt for past tense commit messages 2023-05-09 13:34:36 -07:00