Paul Gauthier
|
ec7a212b60
|
fix: Update import path for RepoMap in test_main.py
|
2024-08-06 09:07:39 -03:00 |
|
Paul Gauthier (aider)
|
ce7cc137fb
|
feat: add --yes flag to map tokens tests
|
2024-08-06 09:04:41 -03:00 |
|
Paul Gauthier (aider)
|
07aa969860
|
style: Format code with consistent indentation and line breaks
|
2024-08-06 09:04:04 -03:00 |
|
Paul Gauthier (aider)
|
45f6f88a46
|
feat: Add tests for --map-tokens option
|
2024-08-06 09:04:01 -03:00 |
|
Paul Gauthier (aider)
|
04fff71e73
|
feat: Add tests for subtree_only
|
2024-08-06 08:47:39 -03:00 |
|
Paul Gauthier
|
8c517715b3
|
Updated HISTORY
|
2024-08-06 08:42:08 -03:00 |
|
Paul Gauthier
|
13c617ed44
|
fix: make new dicts and sets for each instance
|
2024-08-06 08:41:40 -03:00 |
|
Paul Gauthier
|
152188389c
|
fix
|
2024-08-06 08:32:48 -03:00 |
|
Paul Gauthier
|
d7dd0a7fbe
|
Merge remote-tracking branch 'refs/remotes/origin/main'
|
2024-08-06 08:28:56 -03:00 |
|
Paul Gauthier
|
db5de020e8
|
Updated HISTORY
|
2024-08-06 08:25:54 -03:00 |
|
paul-gauthier
|
6e6ea5da51
|
Update ubuntu-tests.yml
|
2024-08-05 21:14:41 -03:00 |
|
paul-gauthier
|
3719dde326
|
Merge pull request #1004 from deansher/extend-contributing-md
|
2024-08-05 21:05:12 -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 |
|
deansher
|
70e511e316
|
improved CONTRIBUTING.md as I used it
|
2024-08-05 19:11:06 -04:00 |
|
Paul Gauthier (aider)
|
fd43cd401d
|
feat: Use the Spinner instead of the inlined custom spinner
|
2024-08-05 19:33:57 -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 (aider)
|
f8d161382e
|
style: Format code with linter
|
2024-08-05 19:31:21 -03:00 |
|
Paul Gauthier (aider)
|
b1003949c0
|
fix: Remove unused imports and fix undefined Spinner issue in aider/io.py
|
2024-08-05 19:31:18 -03:00 |
|
Paul Gauthier (aider)
|
d3a9247b3c
|
style: Apply linter formatting to aider/io.py
|
2024-08-05 19:31:06 -03:00 |
|
Paul Gauthier (aider)
|
30b2460a7a
|
feat: Move Spinner class to utils.py
|
2024-08-05 19:31:03 -03:00 |
|
Paul Gauthier
|
c2254001b5
|
fix: Remove unused Spinner class
diff --git a/aider/io.py b/aider/io.py
index ea4d25d0..d4d4d4d0 100644
--- a/aider/io.py
+++ b/aider/io.py
@@ -420,4 +420,4 @@ class InputOutput:
f.write(text)
def spinner(self, text):
- return Spinner(text)
+ return Spinner(self, text)
|
2024-08-05 19:31:01 -03:00 |
|
Paul Gauthier
|
49874cb8a1
|
fix: Improve spinner behavior
|
2024-08-05 19:30:40 -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 (aider)
|
168a1d070d
|
feat: add delay before showing spinner and text
|
2024-08-05 17:44:30 -03:00 |
|
Paul Gauthier
|
c160a5fa65
|
show progress of the repo map
|
2024-08-05 17:39:21 -03:00 |
|
Paul Gauthier (aider)
|
249c85e20f
|
fix: Replace dump('end') with traceback.print_stack() in Spinner.end()
|
2024-08-05 17:37:38 -03:00 |
|
Paul Gauthier
|
44e05e82b0
|
fix: Add logging to Spinner.end method
|
2024-08-05 17:37:37 -03:00 |
|
Paul Gauthier (aider)
|
54a481813a
|
fix: update spinner every 0.1 sec at most
|
2024-08-05 17:32:07 -03:00 |
|
Paul Gauthier
|
b76434f5e0
|
fix: Add space before spinner text
|
2024-08-05 17:32:06 -03:00 |
|
Paul Gauthier (aider)
|
44f3ed6433
|
fix: Move Spinner class to top level and remove elapsed time display
|
2024-08-05 17:25:55 -03:00 |
|
Paul Gauthier (aider)
|
17f1f2862d
|
style: Apply linter formatting changes
|
2024-08-05 17:25:23 -03:00 |
|
Paul Gauthier (aider)
|
5cac0b764f
|
feat: move Spinner to top level, don't show elapsed
|
2024-08-05 17:25:20 -03:00 |
|
Paul Gauthier (aider)
|
8f8b0ed06e
|
fix: limit spinner update rate to at most 1/10 second
|
2024-08-05 17:24:54 -03:00 |
|
Paul Gauthier (aider)
|
11bf7defea
|
style: Apply linter formatting to io.py
|
2024-08-05 17:24:20 -03:00 |
|
Paul Gauthier (aider)
|
49b33ec85e
|
feat: Add spinner functionality to IO class
|
2024-08-05 17:24:16 -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 |
|
Paul Gauthier
|
b6760e26c7
|
fix: Ensure token count calculation handles small text samples
|
2024-08-05 17:14:42 -03:00 |
|
Paul Gauthier
|
75c3c40354
|
Estimate tokenization to speed up repo map
|
2024-08-05 17:09:27 -03:00 |
|
Paul Gauthier (aider)
|
de26f8e5e0
|
style: format code with linter
|
2024-08-05 16:54:46 -03:00 |
|
Paul Gauthier (aider)
|
276b30506c
|
fix: Add elapsed time logging to print statements
|
2024-08-05 16:54:42 -03:00 |
|
Paul Gauthier
|
042a4f14d2
|
fix: Update repomap.py to improve caching and logging
|
2024-08-05 16:52:22 -03:00 |
|
Paul Gauthier
|
3ba6e95d22
|
fix: Ensure token count is calculated only when verbose mode is enabled
|
2024-08-05 16:37:34 -03:00 |
|