fix: Improve prompt caching and repo map refresh logic

This commit is contained in:
Paul Gauthier 2024-08-19 15:36:13 -07:00 committed by Paul Gauthier (aider)
parent f8b80548fd
commit 34dc7cc37d
5 changed files with 14 additions and 7 deletions

View file

@ -3,8 +3,17 @@
### main branch
- Prompt caching for Anthropic models with `--cache-prompts`.
- Caches the system prompt, repo map and `/read-only` files.
- Repo map recomputes less often in large/mono repos or when caching enabled.
- Use `--map-refresh <always|files|manual|auto>` to configure.
- Improved cost estimate logic for caching.
- Improved editing performance on Jupyter Notebook `.ipynb` files.
- Work around litellm tokenizer bug for images.
- Show which config yaml file is loaded with `--verbose`.
- Bumped dependency versions.
- Bugfix: properly load `.aider.models.metadata.json` data.
- Bugfix: Using `--msg /ask ...` caused an exception.
- Bugfix: litellm tokenizer bug for images.
### Aider v0.50.1