Paul Gauthier (aider)
|
cc2b48bef8
|
fix: Set mock_repo_map.max_map_tokens to 1000 in test_sonnet_and_cache_options
|
2024-08-19 15:32:46 -07:00 |
|
Paul Gauthier (aider)
|
2513e36104
|
feat: Add test for sonnet and cache options
|
2024-08-19 15:31:53 -07:00 |
|
Paul Gauthier
|
69b76c23e8
|
fix playwright install in both docker images
|
2024-08-19 15:02:53 -07:00 |
|
Paul Gauthier
|
2dd7d2e0b6
|
sssh
|
2024-08-19 14:54:44 -07:00 |
|
Paul Gauthier
|
4c2c0ac871
|
Handle all the token/cost corner cases
|
2024-08-19 14:19:35 -07:00 |
|
Paul Gauthier
|
b200bde319
|
fix: Add cache headers for prompts when using a model with cache control
|
2024-08-19 13:34:57 -07:00 |
|
Paul Gauthier
|
b7e325be36
|
copy
|
2024-08-19 12:17:33 -07:00 |
|
Paul Gauthier
|
5fec384234
|
copy
|
2024-08-19 12:11:32 -07:00 |
|
Paul Gauthier (aider)
|
69e471f91c
|
fix: Catch and ignore SwitchCoder error in main function when running with --message
|
2024-08-19 11:56:14 -07:00 |
|
Paul Gauthier
|
b8d09e1f04
|
load litellm if model metadata json is present
|
2024-08-19 10:37:49 -07:00 |
|
Paul Gauthier
|
f6023865f8
|
turn on caching for haiku
|
2024-08-18 16:49:21 -07:00 |
|
Paul Gauthier
|
53db8cfa82
|
fix: Update model output formatting in base_coder.py
|
2024-08-18 13:17:26 -07:00 |
|
Paul Gauthier (aider)
|
4d36518de0
|
feat: Add ⚡ symbol to announcement if prompt caching is enabled and supported
|
2024-08-18 13:14:38 -07:00 |
|
Paul Gauthier
|
ded270ee8b
|
feat: Add force_refresh option to get_repo_map method
|
2024-08-18 13:07:38 -07:00 |
|
Paul Gauthier
|
5099a5c24b
|
copy
|
2024-08-17 08:48:50 -07:00 |
|
Paul Gauthier
|
36663cf04e
|
fix: Update content handling in ChatChunks class
feat: Add date-based caching for prompts
refactor: Simplify current date/time formatting in Coder class
|
2024-08-17 08:47:43 -07:00 |
|
Paul Gauthier (aider)
|
a0fd982546
|
style: Wrap long lines in base_coder.py
|
2024-08-17 07:11:14 -07:00 |
|
Paul Gauthier (aider)
|
0f2211c321
|
feat: Add cached token reporting in calculate_and_show_tokens_and_cost
|
2024-08-17 07:11:09 -07:00 |
|
Paul Gauthier
|
77be2b37d3
|
feat: Add repo-map refresh information to output
|
2024-08-17 07:06:31 -07:00 |
|
Paul Gauthier
|
022d103a99
|
fix: Add cache control headers to chat messages
|
2024-08-17 07:02:56 -07:00 |
|
Paul Gauthier
|
a849a98164
|
bump deps
|
2024-08-17 07:02:15 -07:00 |
|
Paul Gauthier (aider)
|
0f09bd7fb3
|
refactor: Refactor "anthropic-beta" header value to a constant
|
2024-08-17 06:59:48 -07:00 |
|
Paul Gauthier
|
94c4b59f9e
|
feat: Add prompt caching header to model settings
|
2024-08-17 06:59:47 -07:00 |
|
Paul Gauthier (aider)
|
531ede2073
|
feat: add cache_control_enabled field to ModelSettings
|
2024-08-17 06:58:19 -07:00 |
|
Paul Gauthier
|
0bd4dc4622
|
fix: Remove duplicate parameter cache_prompts in Coder constructor
|
2024-08-17 06:49:03 -07:00 |
|
Paul Gauthier
|
7850236ba2
|
feat: Add cache_prompts parameter to Coder constructor
|
2024-08-17 06:48:12 -07:00 |
|
Paul Gauthier (aider)
|
8e43911a63
|
fix: Move if statement out of try block in aider/main.py
|
2024-08-17 06:47:05 -07:00 |
|
Paul Gauthier (aider)
|
8326bd04dd
|
feat: Add --cache-prompts bool option, default false
|
2024-08-17 06:46:18 -07:00 |
|
Paul Gauthier (aider)
|
f9ed868076
|
feat: Add map_refresh parameter to Coder and pass it to RepoMap
|
2024-08-17 06:36:21 -07:00 |
|
Paul Gauthier (aider)
|
17335b1865
|
feat: Add /map-refresh command to force refresh of repository map
|
2024-08-17 06:34:16 -07:00 |
|
Paul Gauthier (aider)
|
27a7102ad4
|
feat: Add --map-refresh switch and pass it into RepoMap.refresh
|
2024-08-17 06:32:34 -07:00 |
|
Paul Gauthier (aider)
|
79d97240f1
|
style: Apply linter edits to repomap.py
|
2024-08-17 06:30:52 -07:00 |
|
Paul Gauthier (aider)
|
551804c289
|
feat: add force_refresh arg to get_repo_map and pass to get_ranked_tags_map
|
2024-08-17 06:30:48 -07:00 |
|
Paul Gauthier
|
bcd6257c90
|
feat: Add last_map attribute and implement caching logic based on refresh mode
|
2024-08-17 06:30:46 -07:00 |
|
Paul Gauthier (aider)
|
88dc1c63fd
|
fix: init map_processing_time to 0 in __init__; move time import to top of file
|
2024-08-17 06:24:23 -07:00 |
|
Paul Gauthier (aider)
|
6ca1a2eb57
|
style: Apply linter formatting changes
|
2024-08-17 06:23:27 -07:00 |
|
Paul Gauthier (aider)
|
27c79d662b
|
feat: Record processing time of get_ranked_tags_map_uncached on cache miss
|
2024-08-17 06:23:23 -07:00 |
|
Paul Gauthier (aider)
|
78fb4ae238
|
fix: protect against null chat_fnames in cache key
|
2024-08-17 06:22:16 -07:00 |
|
Paul Gauthier (aider)
|
4eb0aa1bbd
|
style: Fix formatting in repomap.py
|
2024-08-17 06:21:37 -07:00 |
|
Paul Gauthier (aider)
|
485cb37bb2
|
feat: Add caching to get_ranked_tags_map
|
2024-08-17 06:21:33 -07:00 |
|
Paul Gauthier
|
b3327c38b8
|
fix: Add refresh parameter to RepoMap constructor
|
2024-08-17 06:20:00 -07:00 |
|
Paul Gauthier (aider)
|
ce10b89896
|
style: format code using linter
|
2024-08-16 16:42:39 -07:00 |
|
Paul Gauthier (aider)
|
1daee69f15
|
fix: Break apart get_files_messages into separate methods
feat: Refactor ChatChunks class to include new attributes
|
2024-08-16 16:42:34 -07:00 |
|
Paul Gauthier
|
52b6e76434
|
lint
|
2024-08-16 16:37:57 -07:00 |
|
Paul Gauthier (aider)
|
5095b7ccd0
|
feat: Move all_messages method to ChatChunks class
|
2024-08-16 16:37:40 -07:00 |
|
Paul Gauthier
|
bab6a0df25
|
feat: Add all_messages method to ChatChunks class
|
2024-08-16 16:37:39 -07:00 |
|
Paul Gauthier
|
a4f7ac7463
|
fix: Update token count calculation for image messages
|
2024-08-16 16:36:57 -07:00 |
|
Paul Gauthier (aider)
|
21eb02483b
|
feat: add all_messages() method to return all messages concatenated as a list
|
2024-08-16 16:36:03 -07:00 |
|
Paul Gauthier (aider)
|
860c471d31
|
style: Fix linter issues in base_coder.py
|
2024-08-16 16:35:08 -07:00 |
|
Paul Gauthier (aider)
|
e513c5415c
|
fix: Update ChatChunks dataclass fields to use List type annotations
|
2024-08-16 16:35:04 -07:00 |
|