Commit graph

5182 commits

Author SHA1 Message Date
Paul Gauthier (aider)
e63a2947c6 Add commas to token numbers in usage_report 2024-07-28 16:05:59 -03:00
Paul Gauthier
fbc387e16e Add session cost to usage report 2024-07-28 16:05:57 -03:00
Paul Gauthier (aider)
16cbb0e112 Add total cost to usage report 2024-07-28 16:00:00 -03:00
Paul Gauthier
fe50400bf3 Add usage reporting to the Coder class 2024-07-28 15:59:59 -03:00
Paul Gauthier (aider)
afe50cab3d Update the calculate_and_show_tokens_and_cost method to use the messages parameter if completion.usage is not available. 2024-07-28 15:54:04 -03:00
Paul Gauthier
da257c33a0 Add token count calculation for messages in base_coder.py 2024-07-28 15:54:02 -03:00
Paul Gauthier
57964f1e79 Add token and cost calculation to message completion 2024-07-28 15:53:34 -03:00
Paul Gauthier (aider)
f81acb839c Use the tokenizer to count tokens in partial_response_content after streaming responses complete, and show tokens & cost in that case too. 2024-07-28 15:50:25 -03:00
Paul Gauthier
90b3542e75 copy 2024-07-28 08:14:07 -03:00
Paul Gauthier
ddac92f37f copy 2024-07-28 08:13:07 -03:00
Paul Gauthier
b8264813a4 Use the imperative tense for commit messages #933 2024-07-28 07:46:39 -03:00
Paul Gauthier
5c066250c6 copy 2024-07-28 07:34:23 -03:00
Paul Gauthier
0177b2ee48 copy 2024-07-27 07:28:31 -03:00
Paul Gauthier
7cd3b1c222 Added docs for: python -m aider #126 2024-07-26 15:05:00 +02:00
Paul Gauthier
ab1d3502fc copy 2024-07-26 15:00:17 +02:00
Paul Gauthier
633ce98414 copy 2024-07-25 20:56:25 +02:00
Paul Gauthier (aider)
b9d6fd16fc Added a test case for error handling in the scrape_with_playwright method. 2024-07-25 20:27:24 +02:00
Paul Gauthier (aider)
5dc3bbb6fb Catch and report errors when scraping web pages with Playwright, without crashing the application. 2024-07-25 20:24:32 +02:00
Paul Gauthier
d0ebc7a810 copy 2024-07-25 11:20:08 +02:00
Paul Gauthier
33e47c7efd copy 2024-07-25 11:12:12 +02:00
Paul Gauthier
255828d959 copy 2024-07-25 11:07:28 +02:00
Paul Gauthier
34d7edf1c4 copy 2024-07-25 10:42:20 +02:00
Paul Gauthier
9ec4b834f3 copy 2024-07-25 10:41:02 +02:00
Paul Gauthier
148b17c1ee Added llama-3.1 70b and 8b 2024-07-25 10:33:39 +02:00
Paul Gauthier (aider)
89341ad213 Changed the font color of selected rows in the leaderboard. 2024-07-25 10:26:14 +02:00
Paul Gauthier (aider)
a180c2ae93 Removed "percent using correct edit format" data from both graphs. 2024-07-25 10:17:16 +02:00
Paul Gauthier (aider)
db5538b159 Replaced checkbox controls with clickable table rows to toggle chart data. 2024-07-25 10:15:41 +02:00
Paul Gauthier (aider)
7eb6754a7c Added dynamic charts with row selection checkboxes. 2024-07-25 10:12:43 +02:00
Paul Gauthier
ffcced8144 copy 2024-07-25 09:48:16 +02:00
Paul Gauthier
fbe07b7c3e copy 2024-07-24 21:44:22 +02:00
Paul Gauthier
859a13eb70 Updated languages doc to correctly list repo map supported langs 2024-07-24 11:28:37 +02:00
Paul Gauthier
c33ebf910e Added DeepSeek Coder V2 0724 to refac leaderboard 2024-07-24 11:19:26 +02:00
Paul Gauthier
e8bc672640 copy 2024-07-24 10:26:49 +02:00
Paul Gauthier
bb6e597948 Added DeepSeek Coder V2 0724 2024-07-24 09:43:04 +02:00
Paul Gauthier
bb86fed9f6 disable ocaml test for now, until fixed 2024-07-24 09:41:25 +02:00
Paul Gauthier
a07496cc1f Merge remote-tracking branch 'refs/remotes/origin/main' 2024-07-24 09:34:41 +02:00
paul-gauthier
88d30a335f
Merge pull request #922 from cjoach/fix-syntax-queries-scm-elm
Fix syntax errors in `aider/queries/tree-sitter-elm-tags.scm`
2024-07-24 09:34:31 +02:00
Paul Gauthier (aider)
9db28c0052 Added a new test case to ensure the RepoMap class can handle and include files from all supported languages. 2024-07-24 09:24:52 +02:00
Paul Gauthier
89965bf316 updated llama 405b 2024-07-24 08:38:04 +02:00
Paul Gauthier
a362dea21b added llama 405b 2024-07-24 00:07:23 +02:00
Charles Joachim
8edc7740b2 Fix syntax error 2024-07-23 12:47:48 -04:00
Paul Gauthier
f7ce78bc87 show install text with output not error 2024-07-23 12:02:35 +02:00
Paul Gauthier (aider)
44376ee382 Added the print_error not called check in the test_cmd_web_imports_playwright method. 2024-07-23 11:45:17 +02:00
Paul Gauthier (aider)
f99dbc2c43 Replaced mocked Playwright usage with real Playwright implementation in the test suite. 2024-07-23 11:43:14 +02:00
Paul Gauthier (aider)
8a73346f66 Added a test to scrape an actual URL with Playwright and ensured that Scraper.print_error is never called in any of the scraper tests. 2024-07-23 11:42:01 +02:00
Paul Gauthier (aider)
9a7c67966a Improved error handling in Aider to safely encode and decode text containing emojis or other problematic characters. 2024-07-23 11:39:31 +02:00
Paul Gauthier
1a345a4036 Removed the ignore_https_errors option when launching the Playwright browser. 2024-07-23 11:39:00 +02:00
Paul Gauthier
d164c85426 Improved error handling in scrape.py by converting exception to string before printing. 2024-07-23 11:38:33 +02:00
Paul Gauthier
66c24faaca numpy<2 Because sentence-transformers doesn't like >=2 2024-07-23 10:39:17 +02:00
Paul Gauthier
832b5eb997 bump deps to pickup new litellm for #883 2024-07-23 10:30:15 +02:00