From f96cc035870aef10f32bff64b5a157b2dc5daf39 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 21 Nov 2024 06:25:10 -0800 Subject: [PATCH] feat: Add opt-in analytics and improve output logging method --- HISTORY.md | 3 ++- aider/coders/base_coder.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 4dcd0035e..d4c13422b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,7 @@ - Added [`/editor` command](https://aider.chat/docs/usage/commands.html) to open system editor for writing prompts, by @thehunmonkgroup. - Full support for `gpt-4o-2024-11-20`. - Stream o1 models by default. +- Ask 1% of users to opt-in to [analytics](). - Added support for [optional multiline input tags](https://aider.chat/docs/usage/commands.html#entering-multi-line-chat-messages) with matching closing tags. - Improved [model settings configuration](https://aider.chat/docs/config/adv-model-settings.html#global-extra-params) with support for global `extra_params` for `litellm.completion()`. - Architect mode now asks to add files suggested by the LLM. @@ -14,7 +15,7 @@ - Added `--show-release-notes` to control release notes display on first run of new version. - Save empty dict to cache file on model metadata download failure, to delay retry. - Improved error handling and code formatting. -- Aider wrote 53% of the code in this release. +- Aider wrote 63% of the code in this release. ### Aider v0.63.2 diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index a3cd668fd..9847aa823 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -2065,5 +2065,5 @@ class Coder: "Add command output to the chat?", allow_never=True ): num_lines = len(accumulated_output.strip().splitlines()) - self.io.output(f"Added {num_lines} lines of output to the chat") + self.io.tool_output(f"Added {num_lines} lines of output to the chat.") return accumulated_output