Commit graph

5937 commits

Author SHA1 Message Date
Paul Gauthier (aider)
eca7a57138 style: Format code with linter 2024-08-12 20:41:17 -07:00
Paul Gauthier (aider)
64df0ad590 feat: Add --analytics-disable option to disable analytics tracking 2024-08-12 20:41:10 -07:00
Paul Gauthier
5a28d499a8 fix: Update the path for the Mixpanel UUID file 2024-08-12 20:41:09 -07:00
Paul Gauthier
4bad876f66 fix: Add event tracking for interactive help command 2024-08-12 20:36:51 -07:00
Branch Vincent
aa6a538992
migrate to pyproject.toml 2024-08-12 19:49:59 -07:00
Paul Gauthier (aider)
1a8763d989 feat: Add --analytics-log argument and pass it to Analytics 2024-08-12 18:27:40 -07:00
Paul Gauthier (aider)
13eaf5e5ce style: Fix formatting in analytics.py 2024-08-12 18:26:11 -07:00
Paul Gauthier (aider)
82250db8af feat: Add logfile support to Analytics class 2024-08-12 18:26:08 -07:00
Paul Gauthier
85fa78f5a6 fix: Correct command execution logic 2024-08-12 18:23:51 -07:00
Paul Gauthier (aider)
9ed732959e fix: Remove unnecessary slice from event name in Commands.run 2024-08-12 18:22:51 -07:00
Paul Gauthier (aider)
860a36fe6c refactor: Extract command name from matching_commands[0][1:] 2024-08-12 18:22:36 -07:00
Paul Gauthier (aider)
01a9a8ffc4 feat: add event logging for command usage 2024-08-12 18:22:05 -07:00
Paul Gauthier
aa840f0e28 be careful logging main_models that are not in the model db 2024-08-12 18:20:35 -07:00
Paul Gauthier (aider)
a7a626423c fix: Remove properties argument from event method in Analytics class 2024-08-12 18:08:02 -07:00
Paul Gauthier
c2c9b60ea6 feat: Add main_model parameter to event method in analytics.py 2024-08-12 18:08:01 -07:00
Paul Gauthier (aider)
a6282818db fix: Add early return if self.mp is not set 2024-08-12 16:23:12 -07:00
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