Commit graph

28 commits

Author SHA1 Message Date
Paul Gauthier
b0d2fafdd5 commit wip 2023-05-08 10:41:54 -07:00
Paul Gauthier
862b3c5cc1 more prompt engineering nonsense 2023-05-08 08:22:02 -07:00
Paul Gauthier
6a87dc6037 prettier console and colors 2023-05-07 22:04:42 -07:00
Paul Gauthier
8fa8f6560d more prompt engineering nonsense 2023-05-07 21:19:21 -07:00
Paul Gauthier
1313a3f36b Add a system prompt to remind gpt about the output format 2023-05-07 21:04:04 -07:00
Paul Gauthier
257b58ba86 note all file edits in the chat history, apart from the message with the current file contents 2023-05-07 21:00:51 -07:00
Paul Gauthier
92a94d4b99 cleanup 2023-05-07 20:41:02 -07:00
Paul Gauthier
e9f0c0ced2 different user msgs for initial, local and gpt edits 2023-05-07 20:40:17 -07:00
Paul Gauthier
eb79dd2760 cleanup 2023-05-07 20:22:37 -07:00
Paul Gauthier
69b4c8e307 prompt engineering! 2023-05-07 15:22:41 -07:00
Paul Gauthier
ba4d6254ec Seems to help it preserve leading whitespace 2023-05-07 14:56:00 -07:00
Paul Gauthier
cfd415c8f2 Handle the case of first populating an empty file 2023-05-06 10:32:52 -07:00
Paul Gauthier
d50b4c4de2 gpt-4 2023-05-02 19:31:15 -07:00
Paul Gauthier
c094a16d1b it does not seem to try and append 2023-04-19 08:56:33 -07:00
Paul Gauthier
9e4ba5ee4b fixed regex 2023-04-19 06:17:52 -07:00
Paul Gauthier
4840cb0966 ugh 2023-04-11 13:08:21 -07:00
Paul Gauthier
aebdb332a0 works 2023-04-11 12:30:58 -07:00
Paul Gauthier
1dfe6b31f1 ugh 2023-04-11 11:56:50 -07:00
Paul Gauthier
8b5c2dc23d noop 2023-04-11 11:32:35 -07:00
Paul Gauthier
f588881779 move reminder into prompts 2023-04-10 14:35:58 -07:00
Paul Gauthier
a070c357a0 show messages 2023-04-10 12:56:51 -07:00
Paul Gauthier
99106a1b98 added extra system prompt 2023-04-10 12:45:38 -07:00
Paul Gauthier
d3640a7d16 better 2023-04-09 17:06:00 -07:00
Paul Gauthier
14463700d3 noop 2023-04-09 16:11:06 -07:00
Paul Gauthier
de17d8ea29 prompt 2023-04-09 08:18:41 -07:00
Paul Gauthier
5628c2bf7c Added user_suffix 2023-04-09 07:40:47 -07:00
Paul Gauthier
c577f78f1c noop 2023-04-09 07:25:21 -07:00
Paul Gauthier
0186679449 refactor prompts to prompts.py 2023-04-09 07:06:55 -07:00