Commit graph

5937 commits

Author SHA1 Message Date
Paul Gauthier
4d04a35e73 Merge branch 'main' into mixpanel 2024-08-13 09:52:50 -07:00
Paul Gauthier
df1b036ba1 copy 2024-08-13 09:50:06 -07:00
Paul Gauthier (aider)
14fb59f73b fix: Remove unused imports of filecmp and tempfile in scripts/versionbump.py 2024-08-13 09:47:26 -07:00
Paul Gauthier
d5f59d72e4 build: Update pyproject.toml to exclude additional website files 2024-08-13 09:47:20 -07:00
Paul Gauthier (aider)
458864be45 style: Apply linter edits to scripts/versionbump.py 2024-08-13 09:39:48 -07:00
Paul Gauthier (aider)
211ab28253 feat: add check_cog_pyproject function to run cog -r on pyproject.toml and abort if it has changed the file 2024-08-13 09:39:44 -07:00
Paul Gauthier (aider)
5d14d93594 feat: use cog to import exclude_website_pats and emit it into the toml 2024-08-13 09:36:31 -07:00
Paul Gauthier
a8f82e9063 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-08-13 09:35:07 -07:00
paul-gauthier
b44377e9a6
Merge pull request #1069 from branchvincent/pyproject
migrate to pyproject.toml
2024-08-13 09:34:54 -07:00
Paul Gauthier
390e425729 Warn windows users about setx restart terminal 2024-08-13 09:25:01 -07:00
Paul Gauthier (aider)
4d9f091802 style: format code for better readability 2024-08-13 09:19:58 -07:00
Paul Gauthier (aider)
d0ab70eba0 feat: Add note for Windows users about restarting terminal after setting environment variables 2024-08-13 09:19:54 -07:00
Paul Gauthier
c1fc69ff43 copy 2024-08-13 08:13:06 -07:00
Paul Gauthier
cabad84521 tweak 2024-08-13 08:12:23 -07:00
Paul Gauthier
aeadf2f139 fix: Disable analytics by default and provide option to enable 2024-08-13 08:08:05 -07:00
Paul Gauthier
4ebbfa01b7 share last 1k analytics logs 2024-08-13 07:50:28 -07:00
Paul Gauthier
960b456e70 cleanup 2024-08-13 07:50:06 -07:00
Paul Gauthier (aider)
329514289d fix: Initialize Analytics instance with track=False if analytics is None 2024-08-13 07:45:35 -07:00
Paul Gauthier (aider)
03f14dfe47 feat: Create Analytics instance with track=False if analytics is None 2024-08-13 07:45:19 -07:00
Paul Gauthier (aider)
1c321df457 feat: Move analytics arguments to their own section 2024-08-13 07:23:46 -07:00
Paul Gauthier
8a21eb7804 handle new vars that accumulate tokens/costs for infinite output 2024-08-13 07:23:01 -07:00
Paul Gauthier
c1d4adbebf added mixpanel dep 2024-08-13 07:18:26 -07:00
Paul Gauthier
ef933c207b Merge branch 'main' into mixpanel 2024-08-13 07:17:13 -07:00
Paul Gauthier
08aaae4d36 initial 2024-08-13 07:16:35 -07:00
Paul Gauthier
e755fd3d38 copy 2024-08-13 07:15:53 -07:00
Paul Gauthier
f52265362f Merge branch 'main' into mixpanel 2024-08-13 07:09:34 -07:00
Paul Gauthier
60a832155d copy 2024-08-13 07:07:11 -07:00
Paul Gauthier (aider)
b1486debf8 style: Format code with line breaks for better readability 2024-08-13 06:42:17 -07:00
Paul Gauthier (aider)
935bc2d2a6 feat: Accumulate tokens sent and received in calculate_and_show_tokens_and_cost 2024-08-13 06:42:12 -07:00
Paul Gauthier
26305a975d copy 2024-08-13 06:25:10 -07:00
Paul Gauthier
89f6af94b9 only show usage report when prefill repeats are done, clear message-cost 2024-08-13 06:21:02 -07:00
Paul Gauthier (aider)
74e85d558f style: Format cost report for better readability 2024-08-13 06:16:11 -07:00
Paul Gauthier (aider)
8cb59902a8 feat: Accumulate message cost and update usage report 2024-08-13 06:16:06 -07:00
Paul Gauthier
62fc417655 Merge branch 'main' into litellm-prefill 2024-08-13 05:54:45 -07:00
Paul Gauthier (aider)
20341d6a43 fix: remove unused variable 'interrupted' 2024-08-13 05:54:26 -07:00
Paul Gauthier
fb0066cbf0 fix: Handle KeyboardInterrupt in show_send_output_stream 2024-08-13 05:54:19 -07:00
Paul Gauthier
ad16cc3c41 fix: Add verbose output for version check 2024-08-13 05:35:07 -07:00
Paul Gauthier (aider)
76a4b878b1 feat: Add verbose argument to check_version function 2024-08-13 05:31:04 -07:00
Paul Gauthier (aider)
abb375eb73 style: Format code with linter 2024-08-13 05:29:21 -07:00
Paul Gauthier (aider)
cef421dfc0 feat: Add patch for InputOutput in test_main_exit_calls_version_check 2024-08-13 05:29:18 -07:00
Paul Gauthier
fcf758527a fix: Call check_version in main with input and output arguments 2024-08-13 05:29:17 -07:00
Paul Gauthier (aider)
58f06e1f56 feat: add GitTemporaryDirectory to test_main_exit_calls_version_check 2024-08-13 05:26:12 -07:00
Paul Gauthier (aider)
a30a27fa8a feat: add test for main --exit that confirms version_check is called 2024-08-13 05:25:36 -07:00
Paul Gauthier
c286135eeb fix: Add new --deepseek switch and chat mode options 2024-08-12 21:12:05 -07:00
Paul Gauthier
124e852366 infinity! 2024-08-12 20:55:10 -07:00
Paul Gauthier
8d7927d35b bump deps to pickup new litellm 2024-08-12 20:55:01 -07:00
Paul Gauthier (aider)
00aa43d964 fix: Move imports to the top of the file in aider/analytics.py 2024-08-12 20:44:56 -07:00
Paul Gauthier (aider)
84489f16b5 refactor: Refactor data file name and mkdir operations 2024-08-12 20:44:42 -07:00
Paul Gauthier
e07194bbeb fix: Rename uuid_file to data_file for consistency 2024-08-12 20:44:41 -07:00
Paul Gauthier (aider)
1567d3e3d1 fix: Remove duplicate get_or_create_uuid method 2024-08-12 20:41:59 -07:00