Commit graph

6880 commits

Author SHA1 Message Date
Paul Gauthier (aider)
2ab8b99849 refactor: nest ValueError raise in three dummy functions 2024-08-29 13:09:38 -07:00
Paul Gauthier
d1c4bb7491 test: add test case for uncaught exception handling 2024-08-29 13:09:37 -07:00
Paul Gauthier
b56f824728 fixes #1219 and #1221 2024-08-29 13:06:19 -07:00
Paul Gauthier (aider)
178983827b test: use real GPT35 model and remove token count mocking 2024-08-29 13:05:16 -07:00
Antti Kaihola
86600c70aa refactor: revert addition of type hints 2024-08-29 23:03:21 +03:00
Paul Gauthier (aider)
3b9b789b2d style: format code with linter 2024-08-29 13:02:54 -07:00
Paul Gauthier (aider)
5f3583d7f2 test: add test for show_exhausted_error method 2024-08-29 13:02:49 -07:00
Paul Gauthier
a7742e1706 copy 2024-08-29 12:59:24 -07:00
Paul Gauthier
bf554cfe43 copy 2024-08-29 12:40:33 -07:00
Antti Kaihola
c9fc2efdd7 fix: type comparisons should use is 2024-08-29 21:25:53 +03:00
Paul Gauthier
8fd1c8f9af copy 2024-08-29 11:24:54 -07:00
Paul Gauthier
9072d1571d Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-29 11:23:30 -07:00
paul-gauthier
b7c23c3d86
Merge pull request #1218 from fry69/fry69-patch-1
Update tips.md with hint for creating new files
2024-08-29 11:23:07 -07:00
fry69
41c692f9f1
Update tips.md with hint for creating new files 2024-08-29 20:11:29 +02:00
Antti Kaihola
5376ae25e2 fix: use raw strings when backslashes 2024-08-29 21:10:47 +03:00
Paul Gauthier
6bd090bb50 copy 2024-08-29 10:13:19 -07:00
Paul Gauthier
fd7ea02ecf refactor: Replace hardcoded fence string with dynamic triple backtick 2024-08-29 10:09:34 -07:00
Paul Gauthier (aider)
8a6e2dbb86 refactor: introduce FENCE variable for code block delimiters 2024-08-29 10:09:20 -07:00
Paul Gauthier
e583158dd9 prompt tweaks 2024-08-29 10:08:12 -07:00
Paul Gauthier (aider)
3c5ad664e6 refactor: move GitHub issue URL to urls.py 2024-08-29 10:07:24 -07:00
Paul Gauthier
03024eaaf1 refactor: improve GitHub issue reporting process and output formatting 2024-08-29 10:07:22 -07:00
Paul Gauthier (aider)
bc67123b48 refactor: move import statement to top of file 2024-08-29 09:51:31 -07:00
Paul Gauthier (aider)
9d8048d02c style: add newline before function call in main.py 2024-08-29 09:51:18 -07:00
Paul Gauthier (aider)
d0ef9945ee feat: add exception hook at start of main function 2024-08-29 09:51:14 -07:00
Paul Gauthier
8096649b26 Merge branch 'main' into report 2024-08-29 09:50:38 -07:00
Paul Gauthier
964412d988 copy 2024-08-29 09:50:30 -07:00
Paul Gauthier
2ce6f1a682 refactor: simplify exception handling in traceback processing 2024-08-29 09:47:57 -07:00
Paul Gauthier (aider)
b441c03461 fix: armor os.path.basename call in exception handler 2024-08-29 09:45:17 -07:00
Paul Gauthier (aider)
050291c5a4 style: remove trailing whitespace in exception_handler function 2024-08-29 09:43:54 -07:00
Paul Gauthier (aider)
1cc2b2ef63 refactor: replace full file paths with basenames in exception traceback 2024-08-29 09:43:50 -07:00
Paul Gauthier
606ca7bf13 copy 2024-08-29 09:40:22 -07:00
Paul Gauthier
29cf1e322e feat: enhance exception handling and issue reporting 2024-08-29 09:27:14 -07:00
Antti Kaihola
e52d2da740 refactor: clarify Path/str types in commands.py 2024-08-29 19:24:49 +03:00
Antti Kaihola
fc5c040b83 fix: drop unused var added_fnames from cmd_add 2024-08-29 19:24:49 +03:00
Paul Gauthier (aider)
9d1df5308d style: Use double quotes for string literal in exception_handler 2024-08-29 09:18:20 -07:00
Paul Gauthier (aider)
4a26bc6c70 fix: improve exception handling to show correct filename and line number 2024-08-29 09:18:17 -07:00
Paul Gauthier (aider)
c458489cc0 feat: include exception type in GitHub issue title 2024-08-29 09:16:55 -07:00
Paul Gauthier (aider)
7e6b5d5a98 style: reorder imports in aider/report.py 2024-08-29 09:16:36 -07:00
Paul Gauthier (aider)
df8e13d3ed feat: include filename and line number in exception report title 2024-08-29 09:16:32 -07:00
Paul Gauthier
f6020f283c feat: Add exception reporting and test error in main function 2024-08-29 09:16:31 -07:00
Paul Gauthier (aider)
945eb04010 style: Add blank line before main function call 2024-08-29 09:13:15 -07:00
Paul Gauthier (aider)
cc772d5074 refactor: move main logic into main() function 2024-08-29 09:13:12 -07:00
Paul Gauthier (aider)
68a4f58480 style: format imports and string quotes 2024-08-29 09:12:37 -07:00
Paul Gauthier (aider)
f63a095a37 feat: add uncaught exception reporting functionality 2024-08-29 09:12:34 -07:00
Paul Gauthier
387ade4427 Merge branch 'main' into report 2024-08-29 09:10:22 -07:00
Paul Gauthier
af3c3a3bde set version to 0.54.7-dev 2024-08-29 07:46:14 -07:00
Paul Gauthier
3995accd0c version bump to 0.54.6 2024-08-29 07:44:54 -07:00
Paul Gauthier (aider)
33dde5e4a4 style: remove unused variable in exception handling 2024-08-29 07:42:48 -07:00
Paul Gauthier
50555643d1 refactor: remove unused error logging in AutoCompleter 2024-08-29 07:42:40 -07:00
Paul Gauthier
9297e61c58 refactor: improve GitHub issue reporting flow and user interaction 2024-08-29 07:39:48 -07:00