Commit graph

5857 commits

Author SHA1 Message Date
Paul Gauthier (aider)
57ce0dca67 feat: add self.event() to calculate_and_show_tokens_and_cost 2024-08-12 16:17:11 -07:00
Paul Gauthier
4129065d6c fix: Add event attribute to Coder class 2024-08-12 16:17:10 -07:00
Paul Gauthier (aider)
d59fd508c2 style: Apply linter formatting to analytics.py 2024-08-12 16:16:42 -07:00
Paul Gauthier (aider)
62a5cf8dee feat: Handle numeric values in event properties 2024-08-12 16:16:39 -07:00
Paul Gauthier (aider)
6ec4e60058 feat: Add kwargs support to event() method 2024-08-12 16:14:11 -07:00
Paul Gauthier
087b3d4ffb feat: Rename track_event to event in aider/analytics.py 2024-08-12 16:14:10 -07:00
Paul Gauthier (aider)
7d3585bafe style: Fix formatting and linting issues in analytics.py 2024-08-12 16:11:23 -07:00
Paul Gauthier (aider)
1a49974f98 feat: add aider version number to all events 2024-08-12 16:11:20 -07:00
Paul Gauthier
b11c17dbd4 feat: Add optional analytics tracking 2024-08-12 16:10:20 -07:00
Paul Gauthier
474ac62391 feat: Add analytics field to Coder class 2024-08-12 16:08:58 -07:00
Paul Gauthier (aider)
6ee8a74d47 style: format code with linter 2024-08-12 16:07:15 -07:00
Paul Gauthier (aider)
121dd908a6 feat: Add Mixpanel project token to Analytics class 2024-08-12 16:07:12 -07:00
Paul Gauthier
2e1ac25ce2 feat: Add analytics module with Mixpanel integration 2024-08-12 16:07:11 -07:00
Paul Gauthier
b49ee06f23 feat: Add analytics.py module 2024-08-12 16:05:06 -07:00
Paul Gauthier
d4ae735d43 be paranoid to avoid self.partial_response_content = None 2024-08-12 14:38:59 -07:00
Paul Gauthier
5f4fc06abc say yes, so the test attempts to add 2024-08-12 14:34:53 -07:00
Paul Gauthier (aider)
3a3d34b8f2 fix: Exclude read-only files from get_addable_relative_files 2024-08-12 14:33:49 -07:00
Paul Gauthier (aider)
330c0fcd29 style: Apply linter formatting to test_coder.py 2024-08-12 14:27:22 -07:00
Paul Gauthier (aider)
1cc6841bad feat: add test for check_for_file_mentions with read-only file 2024-08-12 14:27:17 -07:00
Paul Gauthier
cb24f8c6d4 attempt to fix windows tests in CI 2024-08-12 14:09:52 -07:00
Paul Gauthier
b1e7e80700 fix bug in /token counts for chat history 2024-08-12 14:06:34 -07:00
Paul Gauthier
5bf36002ec Try and use a normalized dirname to avoid windows test issues in CI 2024-08-12 11:18:15 -07:00
Paul Gauthier (aider)
5cab55c74b style: format code with linter 2024-08-12 09:54:06 -07:00
Paul Gauthier (aider)
2f4dd04164 feat: Add HTML content detection to scrape method 2024-08-12 09:54:03 -07:00
Paul Gauthier (aider)
ec63642666 style: Format code with linter 2024-08-12 09:51:04 -07:00
Paul Gauthier (aider)
55b7089766 fix: Handle UnboundLocalError in scrape_with_playwright 2024-08-12 09:51:01 -07:00
Paul Gauthier
8d59ce586c fix: Improve handling of read-only files in the cmd_add command 2024-08-12 09:08:24 -07:00
Paul Gauthier (aider)
69dd55af5d fix: Fix cmd_add to use correct GitRepo method 2024-08-12 09:04:59 -07:00
Paul Gauthier (aider)
1e8be8a429 feat: use GitTemporaryDirectory in test_cmd_add_read_only_file 2024-08-12 09:01:32 -07:00
Paul Gauthier (aider)
42d16ebb99 style: Format code to improve readability 2024-08-12 09:00:32 -07:00
Paul Gauthier (aider)
e84418f048 feat: add test for handling read-only files in cmd_add 2024-08-12 09:00:27 -07:00
Paul Gauthier (aider)
9700bb68d9 style: Format code with linter 2024-08-11 17:01:04 -07:00
Paul Gauthier (aider)
c503337066 fix: Handle adding files already in read-only mode 2024-08-11 17:00:59 -07:00
Paul Gauthier
e8b911804e copy 2024-08-11 10:29:47 -07:00
Paul Gauthier (aider)
64951d3d56 feat: Include read-only files in the list printed above the user input prompt 2024-08-11 10:28:10 -07:00
Paul Gauthier
701d7f6244 copy 2024-08-11 10:20:49 -07:00
Paul Gauthier
7e5c5dfa02 fix: Set default edit_format to None if it is "code" 2024-08-11 10:11:14 -07:00
Paul Gauthier
543fa68b45 fix: Use Text() to format user input in console.print() 2024-08-11 10:09:36 -07:00
Paul Gauthier
9b4211fd85 copy 2024-08-11 10:02:15 -07:00
Paul Gauthier
a2128e51a1 fix: Use the correct edit format for the code command 2024-08-11 10:00:01 -07:00
Paul Gauthier (aider)
b9b5666a75 docs: add code example for /code command 2024-08-11 09:57:51 -07:00
Paul Gauthier
32f771eb31 docs: Add information about launching aider in chat mode using the --chat-mode switch 2024-08-11 09:57:50 -07:00
Paul Gauthier (aider)
016a6e9980 feat: Add /code command for code-focused chat 2024-08-11 09:56:24 -07:00
Paul Gauthier (aider)
8e46582938 style: Format command line arguments 2024-08-11 09:55:16 -07:00
Paul Gauthier (aider)
7d270127cb feat: Add --chat-mode as an alias for --edit-format 2024-08-11 09:55:12 -07:00
Paul Gauthier (aider)
cb709bd4ce fix: Import Text class from rich.text module 2024-08-10 20:27:12 -07:00
Paul Gauthier
ddedd40307 fix: Print text content using Text object in commands.py 2024-08-10 20:27:03 -07:00
paul-gauthier
d5aaa9a2a5
Merge pull request #1056 from aelaguiz/ls_read_only
feat: Add read-only files to the output of the 'ls' command
2024-08-10 14:52:03 -07:00
Paul Gauthier
216ad3b6b5 fix: Add SwitchCoder exception handling in cmd_help 2024-08-10 14:49:55 -07:00
Paul Gauthier (aider)
e7c035def4 fix: Catch SwitchCoder exception in test_cmd_ask 2024-08-10 14:45:25 -07:00