Paul Gauthier
a79ce7a151
fix: remove duplicate detect_urls parameter and add to coder initialization
2024-11-25 18:38:34 -08:00
Paul Gauthier (aider)
21bb83c55a
fix: remove duplicate detect_urls parameter in Coder class
2024-11-25 18:36:25 -08:00
Paul Gauthier (aider)
7122ceb16c
feat: add --detect-urls flag to control URL detection behavior
2024-11-25 18:34:05 -08:00
Paul Gauthier
3f8b2d6b99
refactor: Improve model info output with detailed settings display
2024-11-24 15:20:24 -08:00
caetanominuzzo
1b9073b085
fix: Correct typo in base_coder by removing duplicate 'in'
...
This corrects a grammatical error in the system prompt within `base_coder.py`. The `language` variable was previously set as:
language = "in the same language they are using"
Which resulted in the prompt:
"Always reply to the user IN IN the same language they are using."
2024-11-21 14:19:39 -03:00
Paul Gauthier (aider)
7aa4e44317
fix: Correct line/lines pluralization in command output messages
2024-11-21 06:30:52 -08:00
Paul Gauthier
f96cc03587
feat: Add opt-in analytics and improve output logging method
2024-11-21 06:25:10 -08:00
Paul Gauthier (aider)
cbd35b0e87
feat: Implement line count for command output in chat
2024-11-21 06:23:34 -08:00
Paul Gauthier
443acbe4b5
fix: Correct command output confirmation logic in base coder
2024-11-21 06:23:32 -08:00
Paul Gauthier
2bff0522e8
refactor: Restructure file mention check and interrupt handling in base coder
2024-11-19 16:37:02 -08:00
Paul Gauthier
d8a5bc3ae9
Revert "Merge branch 'issue2283'"
...
This reverts commit e1a1e43c3a
, reversing
changes made to c538817b61
.
2024-11-14 06:53:21 -08:00
Paul Gauthier
e1a1e43c3a
Merge branch 'issue2283'
2024-11-13 13:43:30 -08:00
Paul Gauthier
218623be28
feat: Add git_ignored_file method to check files against gitignore
2024-11-13 13:12:25 -08:00
Paul Gauthier
ea1a4ecdc6
fix: Handle empty content in reply_completed method
2024-11-13 12:57:45 -08:00
Paul Gauthier
6acbff3c11
fix: Handle empty content in ArchitectCoder reply_completed method
2024-11-13 12:57:38 -08:00
Paul Gauthier
fef1b59b42
refactor: Restructure file mention check and interrupt handling in base coder
2024-11-13 12:50:17 -08:00
Paul Gauthier (aider)
2e97fcc47f
fix: Remove double-counting of cached tokens in token calculation
2024-11-11 17:19:11 -08:00
Paul Gauthier
21b88c0e65
refactor: Update language reply prompts to use {language} placeholder
2024-11-11 09:38:30 -08:00
Paul Gauthier
f66b916d4b
feat: Add language configuration for user communication in prompts
2024-11-11 09:36:23 -08:00
Paul Gauthier
52c49fc8fd
feat: Add option to return web scrape content instead of printing
2024-11-08 14:27:59 -08:00
Paul Gauthier
79af39bd2c
fix: Change tool_output to tool_warning for error message logging
2024-11-07 13:22:28 -08:00
Paul Gauthier
4941a360cb
fix: Restore import of LiteLLMExceptions in base_coder.py
2024-11-07 13:02:17 -08:00
Paul Gauthier
816fd5e65c
refactor: Simplify error handling and remove unused retry exceptions code
2024-11-07 13:02:04 -08:00
Paul Gauthier
42aac55b82
use offer_url
2024-11-07 11:29:05 -08:00
Paul Gauthier (aider)
e475f3d752
refactor: move webbrowser import to io.py and remove from base_coder.py
2024-11-07 10:26:54 -08:00
Paul Gauthier (aider)
0368c3fae9
refactor: extract URL opening functionality into dedicated io.offer_url method
2024-11-07 10:26:33 -08:00
Paul Gauthier
2cf93ccb54
refactor: simplify URL opening confirmation prompt
2024-11-07 10:26:31 -08:00
Paul Gauthier
c71a92ac84
fix: handle empty original content when creating new files
2024-11-05 09:14:01 -08:00
Paul Gauthier
966a613ffe
fix: handle non-existent files in EditBlockCoder #2233
2024-11-04 09:08:00 -08:00
Paul Gauthier
f53f5927df
Show friendly API error messages
2024-11-01 09:20:31 -07:00
Paul Gauthier (aider)
78a8d19ac5
fix: pass exception objects directly to check_and_open_urls
2024-11-01 09:12:50 -07:00
Paul Gauthier
bfa9dce1e0
refactor: improve API error messages and display format
2024-11-01 09:12:49 -07:00
Paul Gauthier (aider)
3b2f1f1e66
style: format long error messages with line breaks
2024-11-01 09:09:03 -07:00
Paul Gauthier (aider)
b2bcca967f
refactor: update check_and_open_urls to handle exceptions with friendly messages
2024-11-01 09:08:57 -07:00
Paul Gauthier
929aeb22bf
refactor: Update check_and_open_urls to handle exceptions with user-friendly messages
2024-11-01 09:08:56 -07:00
Paul Gauthier
17330e53c3
refactor: Improve error handling and URL processing in chat functionality
2024-10-31 14:13:36 -07:00
Paul Gauthier (aider)
3fcd79e165
style: fix line length and comment formatting
2024-10-31 14:03:33 -07:00
Paul Gauthier (aider)
750b12282f
refactor: strip trailing punctuation from URLs before displaying
2024-10-31 14:03:27 -07:00
Paul Gauthier
94c5ff2fd2
refactor: simplify URL pattern matching and cleanup commented code
2024-10-31 14:03:26 -07:00
Paul Gauthier
85ad2826da
test: add debug dump of URL pattern regex
2024-10-31 14:02:05 -07:00
Paul Gauthier
15c62e3e43
fix: improve URL pattern to handle trailing commas in links
2024-10-31 14:01:41 -07:00
Paul Gauthier (aider)
fea7134064
style: fix comment spacing and remove commented code
2024-10-31 14:01:28 -07:00
Paul Gauthier (aider)
da706d9eb8
fix: update URL regex to strip trailing punctuation
2024-10-31 14:01:21 -07:00
Paul Gauthier
9a37c0491d
refactor: improve URL handling and error reporting in base coder
2024-10-31 14:01:20 -07:00
Paul Gauthier (aider)
1d3d6a589f
style: remove unused Optional import
2024-10-31 13:52:50 -07:00
Paul Gauthier (aider)
c5a439e4e8
style: sort imports alphabetically in base_coder.py
2024-10-31 13:52:41 -07:00
Paul Gauthier (aider)
2b7584b651
refactor: extract URL checking logic into separate method
2024-10-31 13:52:37 -07:00
Paul Gauthier (aider)
1ef60b5a40
refactor: add URL checking function with browser open option
2024-10-31 13:52:24 -07:00
Paul Gauthier
b79321da51
chore: add TODO comments for URL handling refactoring
2024-10-31 13:52:22 -07:00
Paul Gauthier (aider)
6829b29ef4
feat: add error base class hierarchy to retry exception messages
2024-10-31 13:50:12 -07:00