Commit graph

5875 commits

Author SHA1 Message Date
Paul Gauthier
c1fc69ff43 copy 2024-08-13 08:13:06 -07:00
Paul Gauthier
e755fd3d38 copy 2024-08-13 07:15:53 -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
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