From 867aaa58646849816269c02e41bebcc9772688a8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 4 Jan 2025 06:36:22 -0800 Subject: [PATCH] copy --- HISTORY.md | 10 ++++-- aider/website/HISTORY.md | 10 ++++-- aider/website/assets/sample-analytics.jsonl | 36 ++++++++++----------- aider/website/docs/faq.md | 4 +-- scripts/history_prompts.py | 2 ++ 5 files changed, 38 insertions(+), 24 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index cc6c37f70..969dfa082 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,13 @@ # Release history -### Aider v0.70.0 +### main branch +- Increased max chat history tokens limit from 4k to 8k. +- Added support for custom voice format and input device settings. +- Disabled Streamlit email prompt by automatically creating credentials file. +- Fixed lint command handling of nested spaced strings. +- Aider wrote 45% of the code in this release. +### Aider v0.70.0 - Full support for o1 models. - Watch files now honors `--subtree-only`, and only watches that subtree. - Improved prompting for watch files, to work more reliably with more models. @@ -12,7 +18,7 @@ - Ask 10% of users to opt-in to analytics. - Bugfix for auto-suggest. - Gracefully handle unicode errors in git path names. -- Aider wrote 74% of the code in this release. +- Aider wrote 74% of the code in this release. ### Aider v0.69.1 diff --git a/aider/website/HISTORY.md b/aider/website/HISTORY.md index d6ebc5323..3af28163d 100644 --- a/aider/website/HISTORY.md +++ b/aider/website/HISTORY.md @@ -23,8 +23,14 @@ cog.out(text) ]]]--> -### Aider v0.70.0 +### main branch +- Increased max chat history tokens limit from 4k to 8k. +- Added support for custom voice format and input device settings. +- Disabled Streamlit email prompt by automatically creating credentials file. +- Fixed lint command handling of nested spaced strings. +- Aider wrote 45% of the code in this release. +### Aider v0.70.0 - Full support for o1 models. - Watch files now honors `--subtree-only`, and only watches that subtree. - Improved prompting for watch files, to work more reliably with more models. @@ -35,7 +41,7 @@ cog.out(text) - Ask 10% of users to opt-in to analytics. - Bugfix for auto-suggest. - Gracefully handle unicode errors in git path names. -- Aider wrote 74% of the code in this release. +- Aider wrote 74% of the code in this release. ### Aider v0.69.1 diff --git a/aider/website/assets/sample-analytics.jsonl b/aider/website/assets/sample-analytics.jsonl index 402ee5e62..2ccbab116 100644 --- a/aider/website/assets/sample-analytics.jsonl +++ b/aider/website/assets/sample-analytics.jsonl @@ -1,21 +1,3 @@ -{"event": "command_undo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228220} -{"event": "exit", "properties": {"reason": "Control-C"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228222} -{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228225} -{"event": "repo", "properties": {"num_files": 423}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228227} -{"event": "cli session", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "gemini/gemini-2.0-flash-exp", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228227} -{"event": "ai-comments file-add", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228229} -{"event": "ai-comments execute", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228229} -{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228229} -{"event": "message_send", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "gemini/gemini-2.0-flash-exp", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff", "prompt_tokens": 10304, "completion_tokens": 159, "total_tokens": 10463, "cost": 0.033297, "total_cost": 0.033297}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228236} -{"event": "command_undo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228253} -{"event": "exit", "properties": {"reason": "Control-C"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228257} -{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228259} -{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228316} -{"event": "repo", "properties": {"num_files": 423}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228318} -{"event": "cli session", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "gemini/gemini-2.0-flash-exp", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228318} -{"event": "ai-comments file-add", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228319} -{"event": "ai-comments execute", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228319} -{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228320} {"event": "message_send", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "gemini/gemini-2.0-flash-exp", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff", "prompt_tokens": 10142, "completion_tokens": 699, "total_tokens": 10841, "cost": 0.040911, "total_cost": 0.040911}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228335} {"event": "command_diff", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228343} {"event": "command_diff", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1735228355} @@ -998,3 +980,21 @@ {"event": "message_send", "properties": {"main_model": "deepseek/deepseek-chat", "weak_model": "deepseek/deepseek-chat", "editor_model": "deepseek/deepseek-chat", "edit_format": "diff", "prompt_tokens": 15888, "completion_tokens": 392, "total_tokens": 16280, "cost": 0.00233408, "total_cost": 0.008454040000000001}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000464} {"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000465} {"event": "message_send", "properties": {"main_model": "deepseek/deepseek-chat", "weak_model": "deepseek/deepseek-chat", "editor_model": "deepseek/deepseek-chat", "edit_format": "diff", "prompt_tokens": 16791, "completion_tokens": 410, "total_tokens": 17201, "cost": 0.00246554, "total_cost": 0.010919580000000002}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000477} +{"event": "command_exit", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000720} +{"event": "exit", "properties": {"reason": "/exit"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000720} +{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000781} +{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000781} +{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000781} +{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000963} +{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000964} +{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736000964} +{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001246} +{"event": "no-repo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001249} +{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001249} +{"event": "message_send", "properties": {"main_model": "deepseek/deepseek-chat", "weak_model": "deepseek/deepseek-chat", "editor_model": "deepseek/deepseek-chat", "edit_format": "diff", "prompt_tokens": 8827, "completion_tokens": 427, "total_tokens": 9254, "cost": 0.0013553400000000002, "total_cost": 0.0013553400000000002}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001260} +{"event": "exit", "properties": {"reason": "Completed --message"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001260} +{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001346} +{"event": "no-repo", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001348} +{"event": "message_send_starting", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001348} +{"event": "message_send", "properties": {"main_model": "deepseek/deepseek-chat", "weak_model": "deepseek/deepseek-chat", "editor_model": "deepseek/deepseek-chat", "edit_format": "diff", "prompt_tokens": 8843, "completion_tokens": 482, "total_tokens": 9325, "cost": 0.00137298, "total_cost": 0.00137298}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001359} +{"event": "exit", "properties": {"reason": "Completed --message"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1736001359} diff --git a/aider/website/docs/faq.md b/aider/website/docs/faq.md index 250c30deb..2bedd6a7d 100644 --- a/aider/website/docs/faq.md +++ b/aider/website/docs/faq.md @@ -237,8 +237,8 @@ tr:hover { background-color: #f5f5f5; } - - + + diff --git a/scripts/history_prompts.py b/scripts/history_prompts.py index 4b01bd1bc..eb821dd9a 100644 --- a/scripts/history_prompts.py +++ b/scripts/history_prompts.py @@ -11,6 +11,8 @@ End each bullet with a period. Be sure to attribute changes to the proper .x version. Changes in the .x-dev version should be listed under a "### main branch" heading +Start a new "### main branch" section at the top of the file if needed. + Also, add this as the last bullet under the "### main branch" section: {aider_line} """ # noqa
Model NameTotal TokensPercent
deepseek/deepseek-chat1,598,14366.3%
claude-3-5-sonnet-20241022765,16731.8%
deepseek/deepseek-chat1,616,72266.9%
claude-3-5-sonnet-20241022754,70431.2%
o137,2901.5%
gemini/gemini-2.0-flash-exp4,8270.2%
gpt-4o4,4730.2%