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 |
|
Paul Gauthier (aider)
|
9bdf41e753
|
style: apply linter edits
|
2024-08-16 16:34:47 -07:00 |
|
Paul Gauthier (aider)
|
61d141c6cb
|
feat: Add list fields to ChatChunks class
|
2024-08-16 16:34:42 -07:00 |
|
Paul Gauthier
|
2209f7b7eb
|
fix: Refactor format_messages method to use ChatChunks dataclass
|
2024-08-16 16:34:41 -07:00 |
|
Paul Gauthier
|
653bb350ca
|
copy
|
2024-08-16 11:41:12 -07:00 |
|
Paul Gauthier
|
645221bbc7
|
copy
|
2024-08-16 11:39:31 -07:00 |
|
Paul Gauthier
|
b61b5f4b74
|
cleanup before merge
|
2024-08-16 11:35:30 -07:00 |
|
Paul Gauthier
|
d3e37c9e36
|
Merge branch 'main' into json-coders
|
2024-08-16 11:31:55 -07:00 |
|
Paul Gauthier
|
dde7470f4d
|
copy
|
2024-08-16 07:03:42 -07:00 |
|
Paul Gauthier
|
ae9ad0989e
|
copy
|
2024-08-16 06:41:49 -07:00 |
|
Paul Gauthier
|
b1f2000f2a
|
copy
|
2024-08-16 06:39:26 -07:00 |
|
Paul Gauthier
|
ed45baf85a
|
copy
|
2024-08-16 06:38:37 -07:00 |
|
Paul Gauthier
|
f9ad633ee0
|
copy
|
2024-08-16 06:14:07 -07:00 |
|
Paul Gauthier
|
4081f2c5b1
|
fix metadata file test
|
2024-08-15 15:42:15 -07:00 |
|
Paul Gauthier
|
c66a771119
|
copy
|
2024-08-15 15:40:11 -07:00 |
|
Paul Gauthier
|
0dacb3f540
|
copy
|
2024-08-15 14:59:28 -07:00 |
|
Paul Gauthier (aider)
|
cb9da29bc3
|
style: Apply linter edits to test_main.py
|
2024-08-15 14:45:16 -07:00 |
|