Commit graph

5921 commits

Author SHA1 Message Date
Paul Gauthier (aider)
f563544761 style: Fix linter issues in analytics.py 2024-08-12 16:21:49 -07:00
Paul Gauthier (aider)
48a344bc6d feat: Add system information to all events 2024-08-12 16:21:46 -07:00
Paul Gauthier
f110e8c8db fix: Update Mixpanel project token 2024-08-12 16:21:45 -07:00
Paul Gauthier (aider)
65c0608d5c style: format code 2024-08-12 16:17:17 -07:00
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
2f3aa54845 copy 2024-08-12 15:36:41 -07:00
Paul Gauthier
2a1fb7d150 Clean up DEEPSEEK_API_BASE 2024-08-12 15:35:32 -07:00
Paul Gauthier
27f92b26c6 bump versions for new litellm with prefill 2024-08-12 15:33:09 -07:00
Paul Gauthier (aider)
73734efe89 feat: Add infinity symbol to edit format if model supports assistant prefill 2024-08-12 15:20:05 -07:00
Paul Gauthier
888211fd48 use litellm's new supports_assistant_prefill 2024-08-12 15:10:02 -07:00
Paul Gauthier (aider)
843836ea87 feat: Add --deepseek-beta bool arg and set model name and DEEPSEEK_API_BASE when used 2024-08-12 15:08:04 -07:00
Paul Gauthier (aider)
485418d917 feat: Add --deepseek-beta bool arg to use DeepSeek Coder via the beta API endpoint 2024-08-12 15:06:55 -07:00
Paul Gauthier (aider)
5f8df315e4 feat: Add --deepseek option for deepseek/deepseek-coder model 2024-08-12 15:05:16 -07:00
Paul Gauthier (aider)
2669b0c758 style: Apply linter edits to sendchat.py 2024-08-12 15:04:08 -07:00
Paul Gauthier (aider)
7822c1c879 feat: Add support for DeepSeek API base URL 2024-08-12 15:04:05 -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