Paul Gauthier
0b322a96f6
Updated HISTORY
2024-08-06 10:42:01 -03:00
Paul Gauthier (aider)
b6994aacee
fix: Normalize current working directory in ignored_file_raw
method
2024-08-06 10:25:27 -03:00
Paul Gauthier
4d0934f0a8
fix subtree logic for windows
2024-08-06 10:01:23 -03:00
Paul Gauthier
535fdfff35
fix: Improve formatting of system information in prompt
2024-08-06 09:55:31 -03:00
Paul Gauthier (aider)
d0096773bf
feat: Include timezone information in datetime string
2024-08-06 09:52:54 -03:00
Paul Gauthier (aider)
df4d1735ae
style: Apply linter formatting changes
2024-08-06 09:51:38 -03:00
Paul Gauthier (aider)
11745ad16e
fix: Show date and time without milliseconds
2024-08-06 09:51:33 -03:00
Paul Gauthier
0d6b41f5c0
fix: Remove unnecessary information from platform text
2024-08-06 09:51:32 -03:00
Paul Gauthier (aider)
eeb47903a0
style: Fix formatting in base_coder.py
2024-08-06 09:50:17 -03:00
Paul Gauthier (aider)
fe33cef894
feat: include country in user language detection
2024-08-06 09:50:12 -03:00
Paul Gauthier (aider)
86d37e0c25
fix: Replace bare except
with except Exception
in get_user_language()
method
2024-08-06 09:48:19 -03:00
Paul Gauthier (aider)
541ab83f15
style: Fix formatting and style issues in base_coder.py
2024-08-06 09:46:42 -03:00
Paul Gauthier (aider)
7d56889880
feat: Add user language detection to platform_text
...
The changes in this commit add a function to detect the user's language and include it in the `platform_text` without assuming English as a fallback. The language detection is done by checking the `locale` module and common environment variables. If a language is detected, it is added to the `platform_text` with a note about how it was obtained. If no language is detected, no language information is added to `platform_text`.
2024-08-06 09:46:37 -03:00
Paul Gauthier
768d7af32e
fix normlize_path logic
2024-08-06 09:38:51 -03:00
Paul Gauthier
4e5e9b4a1a
fix: move dict init into __init__
2024-08-06 09:34:25 -03:00
Paul Gauthier
f64cdfa72a
Updated HISTORY
2024-08-06 09:22:45 -03:00
Paul Gauthier
764abb56c9
Updated HISTORY
2024-08-06 09:15:12 -03:00
Paul Gauthier
fb0691914c
fix: Use repo map only when map_tokens is greater than 0
2024-08-06 09:11:21 -03:00
Paul Gauthier (aider)
e20657096f
fix: Properly mock RepoMap in test_map_tokens_option
2024-08-06 09:09:52 -03:00
Paul Gauthier
b04d77e345
fix: Update test_main.py to use the correct RepoMap import path
2024-08-06 09:09:51 -03:00
Paul Gauthier (aider)
d34da62b12
fix: Resolve issues in test_main.py
2024-08-06 09:07:40 -03:00
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