Paul Gauthier
|
1e5fdfa4be
|
refactor: Filter out duplicate filenames from special_fnames list
|
2024-09-03 15:39:18 -07:00 |
|
Paul Gauthier
|
75de2989f8
|
fix --map-refresh=manual
|
2024-09-03 15:28:08 -07:00 |
|
Paul Gauthier
|
dff814a7a8
|
refactor: change tool_error to tool_warning for non-critical messages
|
2024-09-03 13:30:04 -07:00 |
|
Paul Gauthier
|
b3928dabbc
|
fix: Resolve KeyError in RepoMap.get_tags_for_file method
|
2024-09-03 08:10:30 -07:00 |
|
Paul Gauthier
|
be1e45a4b3
|
refactor: simplify file existence check and error handling in RepoMap
|
2024-09-03 07:55:48 -07:00 |
|
Paul Gauthier
|
3bf403ba05
|
fixes #1288
|
2024-09-02 11:18:43 -07:00 |
|
Paul Gauthier (aider)
|
fbb5d34888
|
style: remove unused variable in exception handling
|
2024-08-30 18:20:00 -07:00 |
|
Paul Gauthier
|
ec18b190e9
|
refactor: comment out error logging for lexer failures
|
2024-08-30 18:19:54 -07:00 |
|
Paul Gauthier
|
b228ba3dc5
|
feat: add special file filtering to RepoMap ranking
|
2024-08-30 15:06:52 -07:00 |
|
Paul Gauthier
|
eb2f89f2b8
|
fixes #1236
|
2024-08-30 07:03:11 -07:00 |
|
Paul Gauthier
|
ad3f29bdce
|
fix: improve error handling for lexer exceptions in AutoCompleter and RepoMap
|
2024-08-28 22:49:22 -07:00 |
|
Paul Gauthier
|
ce397b71e8
|
do not try pexpect on windows; fix time.clock error on windows
|
2024-08-28 22:26:48 -07:00 |
|
Paul Gauthier (aider)
|
40be2d2100
|
fix: Add sqlite3 import to aider/repomap.py
|
2024-08-27 05:27:23 -07:00 |
|
Paul Gauthier
|
743412777d
|
fix: Handle errors when loading tags cache
|
2024-08-27 05:27:17 -07:00 |
|
Paul Gauthier (aider)
|
ff039e80ad
|
style: Format code with linter
|
2024-08-21 16:03:43 -07:00 |
|
Paul Gauthier (aider)
|
bbb40e3045
|
feat: Add test for --map-mul option and update RepoMap to print map_mul_no_files
|
2024-08-21 16:03:37 -07:00 |
|
Paul Gauthier
|
fc055a17c1
|
fix: Remove unused map_multiplier_no_files attribute from Coder class
|
2024-08-20 12:59:54 -07:00 |
|
Paul Gauthier (aider)
|
78a4ed69d8
|
style: Format code using linter
|
2024-08-19 15:49:47 -07:00 |
|
Paul Gauthier (aider)
|
884ee535af
|
feat: Add file modification time to cache key for render_tree
|
2024-08-19 15:49:43 -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
|
30af7f68bd
|
fix: Clear lines of interest instead of clearing the entire context
|
2024-08-08 09:58:46 -03:00 |
|
Paul Gauthier (aider)
|
bb4ee1a221
|
perf: cache TreeContext for each filename and re-use it
|
2024-08-08 09:56:03 -03:00 |
|
Paul Gauthier
|
75bd6f114c
|
Better progress indicator in large repos
|
2024-08-06 14:33:09 -03:00 |
|
Paul Gauthier (aider)
|
8525563cfd
|
style: fix linter issues in repomap.py
|
2024-08-06 14:18:45 -03:00 |
|
Paul Gauthier (aider)
|
eee37f8913
|
feat: add "Scanning files" label for tqdm progress bar
|
2024-08-06 14:18:40 -03:00 |
|
Paul Gauthier
|
4ccd7d9d4f
|
fix: update cache threshold condition in RepoMap class
|
2024-08-06 14:18:39 -03:00 |
|
Paul Gauthier
|
4d6bb2b1f1
|
fix: Update cache threshold logic in RepoMap class
|
2024-08-06 14:13:54 -03:00 |
|
Paul Gauthier
|
4e5e9b4a1a
|
fix: move dict init into __init__
|
2024-08-06 09:34:25 -03:00 |
|
Paul Gauthier
|
abd23f8be5
|
small perf tweak
|
2024-08-05 20:56:06 -03:00 |
|
Paul Gauthier
|
d89eeff13d
|
fix: Implement efficient token counting for large text inputs
|
2024-08-05 20:42:36 -03:00 |
|
Paul Gauthier
|
d0ffbf173b
|
fix: Reorder imports in repomap.py
|
2024-08-05 19:33:06 -03:00 |
|
Paul Gauthier (aider)
|
eff71998a3
|
fix: Move imports to top of file
|
2024-08-05 19:32:47 -03:00 |
|
Paul Gauthier
|
c21195252d
|
feat: Add Spinner utility to repomap module
|
2024-08-05 19:32:25 -03:00 |
|
Paul Gauthier
|
c67d10749c
|
fix: Remove unused spinner method from InputOutput class
|
2024-08-05 19:31:54 -03:00 |
|
Paul Gauthier
|
95e603350c
|
cleanup ranked_tags_map cache and token estimator
|
2024-08-05 18:00:51 -03:00 |
|
Paul Gauthier (aider)
|
16defb3c8c
|
feat: sort tuples in get_ranked_tags_map
|
2024-08-05 17:49:57 -03:00 |
|
Paul Gauthier (aider)
|
bcbaac03d4
|
feat: Add cache for get_ranked_tags_map
|
2024-08-05 17:48:48 -03:00 |
|
Paul Gauthier
|
dfe4f4827c
|
feat: Increase the number of samples used to estimate token count in RepoMap
|
2024-08-05 17:48:47 -03:00 |
|
Paul Gauthier
|
c160a5fa65
|
show progress of the repo map
|
2024-08-05 17:39:21 -03:00 |
|
Paul Gauthier (aider)
|
ef442fdd7e
|
style: Apply linter formatting to repomap.py
|
2024-08-05 17:15:30 -03:00 |
|
Paul Gauthier (aider)
|
72ceb87acb
|
fix: Remove all print_elapsed calls
|
2024-08-05 17:15:26 -03:00 |
|