improve history prompt

This commit is contained in:
Paul Gauthier 2025-05-09 08:29:33 -07:00
parent 6620141420
commit 64b4d13880
6 changed files with 592 additions and 589 deletions

View file

@ -34,6 +34,7 @@ cog.out(text)
- Introduced `--attribute-co-authored-by` option to add co-author trailer to commit messages, by Andrew Grigorev.
- Updated Gemini model aliases (e.g., `gemini`, `gemini-2.5-pro`) to point to the `05-06` preview versions.
- Marked Gemini 2.5 Pro preview models as `overeager` by default.
- Commit message prompt specifies the user's language.
- Updated the default weak model for Gemini 2.5 Pro models to `gemini/gemini-2.5-flash-preview-04-17`.
- Corrected `gemini-2.5-pro-exp-03-25` model settings to reflect its lack of support for `thinking_budget`.
- Ensured model-specific system prompt prefixes are placed on a new line before the main system prompt.
@ -54,7 +55,9 @@ cog.out(text)
- Explicit `--attribute-author` or `--attribute-committer` flags now override the default behavior when `--attribute-co-authored-by` is used, allowing finer control over commit attribution, by Andrew Grigorev.
- Fixed an issue where read-only status of files might not be preserved correctly by some commands (e.g. `/drop` after adding a read-only file).
- The `aider-args` utility (or `python -m aider.args`) now defaults to printing a sample YAML configuration if no arguments are provided.
- Aider wrote 53% of the code in this release.
- Displayed token count progress and the name of the file or identifier being processed during repo map updates.
- Extended the waiting spinner to also show for non-streaming responses and further enhanced its animation with console width clipping, cursor hiding, and a more continuous appearance.
- Aider wrote 55% of the code in this release.
### Aider v0.82.3

File diff suppressed because it is too large Load diff

View file

@ -1224,7 +1224,7 @@ cog.out("```\n")
max_tokens: 8192
caches_by_default: true
- name: openrouter/google/gemini-2.5-pro-exp-03-25:free
- name: openrouter/google/gemini-2.5-pro-exp-03-25
edit_format: diff-fenced
weak_model_name: openrouter/google/gemini-2.0-flash-exp:free
use_repo_map: true

View file

@ -264,13 +264,9 @@ tr:hover { background-color: #f5f5f5; }
</style>
<table>
<tr><th>Model Name</th><th class='right'>Total Tokens</th><th class='right'>Percent</th></tr>
<tr><td>gemini/gemini-2.5-pro-exp-03-25</td><td class='right'>731,456</td><td class='right'>38.9%</td></tr>
<tr><td>o3</td><td class='right'>629,291</td><td class='right'>33.5%</td></tr>
<tr><td>gemini/gemini-2.5-pro-preview-05-06</td><td class='right'>389,854</td><td class='right'>20.7%</td></tr>
<tr><td>openrouter/REDACTED</td><td class='right'>106,682</td><td class='right'>5.7%</td></tr>
<tr><td>gemini/gemini-2.5-pro-preview-03-25</td><td class='right'>14,012</td><td class='right'>0.7%</td></tr>
<tr><td>together_ai/REDACTED</td><td class='right'>7,707</td><td class='right'>0.4%</td></tr>
<tr><td>together_ai/Qwen/Qwen3-235B-A22B-fp8-tput</td><td class='right'>1,994</td><td class='right'>0.1%</td></tr>
<tr><td>gemini/gemini-2.5-pro-exp-03-25</td><td class='right'>988,288</td><td class='right'>68.0%</td></tr>
<tr><td>o3</td><td class='right'>455,620</td><td class='right'>31.4%</td></tr>
<tr><td>openrouter/REDACTED</td><td class='right'>8,745</td><td class='right'>0.6%</td></tr>
</table>
{: .note :}