Commit graph

102 commits

Author SHA1 Message Date
Dustin Washington
f18a419954 Attempt to prevent exploration loops (works-ish but models are disobedient) 2025-09-20 21:02:43 -04:00
Dustin Washington
e86af64d0f Update all test files to work with async updates 2025-09-20 14:07:37 -04:00
Dustin Washington
8ca840a7d8 Update test_coder to handle base_coder's async updates 2025-09-20 00:06:01 -04:00
Dustin Washington
64cf2bbc07 Fix more pre-commit pipeline errors and tests 2025-08-17 17:36:48 -04:00
Dustin Washington
4437537278 #8 - Updates per pre-commit hooks:
- Formatting with Black
- More Forgiving Flake8 Line Length for Navigator Coder
2025-08-17 13:41:17 -04:00
Adrian Lopez (aider)
bfc32f03ac fix(mcp): process multi-part and embedded resources in tool results
MCP servers could return several elements in the response [1].
Return all of them as text.

[1]: f5ccad944f/schema/2025-06-18/schema.ts (L401)
2025-07-18 14:45:37 +02:00
Quinlan Jager
36f8a4d2d5 Tool calls in message history won't raise errors 2025-07-08 23:23:08 -07:00
Quinlan Jager
67595d2e8e
Merge branch 'main' into feature/litellm-mcp 2025-05-26 14:20:43 -07:00
Paul Gauthier (aider)
3caab85931 fix: Mark unused variable in test
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
2025-05-13 13:44:59 -07:00
Paul Gauthier
756372809e test: Update tests for git integration 2025-05-13 13:44:23 -07:00
Paul Gauthier (aider)
6aa05ab11c style: Format test file 2025-05-13 13:42:04 -07:00
Paul Gauthier (aider)
9cf373039e test: Add test for skipping gitignored files on init 2025-05-13 13:41:58 -07:00
Quinlan Jager
c1a5e8d0d5 Merge branch 'main' into feature/litellm-mcp 2025-05-12 08:08:55 -07:00
Paul Gauthier (aider)
b8758ca791 test: Fix mock for babel.Locale in test_normalize_language 2025-05-10 11:55:03 -07:00
Paul Gauthier (aider)
bf9522a2fb style: Format test file 2025-05-10 11:53:08 -07:00
Paul Gauthier (aider)
ddc8621d6e fix: Correctly normalize hyphenated language codes 2025-05-10 11:53:00 -07:00
Paul Gauthier (aider)
7875de078a fix: Remove unused import/var and fix line length in test 2025-05-10 11:46:49 -07:00
Paul Gauthier (aider)
ea1189b8ec style: Format test_coder.py 2025-05-10 11:46:27 -07:00
Paul Gauthier (aider)
1127b8b559 test: Add tests for user language detection and normalization 2025-05-10 11:46:17 -07:00
Paul Gauthier (aider)
fcc85a7ae6 fix: Update test mocks for get_commit_message signature 2025-05-09 09:17:59 -07:00
Quinlan Jager
5fd049b44b Only print empty response warning log if there are tools 2025-05-06 08:16:00 -07:00
Quinlan Jager
282b349080 Allow MCP servers list to partially initialize 2025-05-04 23:06:47 -07:00
Quinlan Jager
2c24084cb0 Models may use tools during completions 2025-05-02 17:14:12 -07:00
Paul Gauthier
71446d9f3c fix: get_file_mentions skips pure basenames with duplicates 2025-04-07 13:22:05 +12:00
Paul Gauthier (aider)
c580ffdb70 test: add test for multiline backtick file mentions 2025-04-07 13:14:27 +12:00
Paul Gauthier (aider)
6d8e4e8fb1 style: Fix string quote consistency in test_coder.py 2025-03-25 11:05:58 -10:00
Paul Gauthier (aider)
4716cce208 fix: pre-calculate Windows paths to avoid f-string backslash issues 2025-03-25 11:05:49 -10:00
Paul Gauthier (aider)
1272e21603 style: Fix string quotes in test_coder.py 2025-03-25 11:01:54 -10:00
Paul Gauthier (aider)
7302280417 test: Add Windows path handling in file mention tests 2025-03-25 11:01:44 -10:00
Paul Gauthier (aider)
871c6d56dc refactor: Move windows_path variable outside test cases tuple 2025-03-25 11:01:21 -10:00
Paul Gauthier (aider)
eb0389938c fix: handle Windows path formatting in test cases 2025-03-25 10:59:45 -10:00
Paul Gauthier (aider)
e6c191bdc6 fix: Use raw string for backslash in f-string expression 2025-03-25 10:59:29 -10:00
Paul Gauthier (aider)
f543c1ee1c style: Break long line in test_coder.py to comply with flake8 E501 2025-03-22 13:37:11 -07:00
Paul Gauthier
74254cdbd5 feat: Add ContextCoder for identifying relevant files in requests 2025-03-22 13:36:58 -07:00
Paul Gauthier (aider)
a5c8c534c1 fix: Remove unnecessary f-string prefix in test case 2025-03-22 13:26:19 -07:00
Paul Gauthier (aider)
24159dda58 style: Format test_coder.py for readability 2025-03-22 13:26:03 -07:00
Paul Gauthier (aider)
ad0a2b3260 test: Add test cases for bold format file mentions 2025-03-22 13:25:58 -07:00
Paul Gauthier (aider)
7e51c68fde style: Format code according to linter rules 2025-03-22 13:23:52 -07:00
Paul Gauthier (aider)
3b376a15b7 test: Add comprehensive test for get_file_mentions with various formats 2025-03-22 13:23:46 -07:00
Paul Gauthier
92377fc390 fix: Add missing MagicMock import in test_coder.py 2025-03-12 13:45:10 -07:00
Paul Gauthier (aider)
79b8e50412 fix: Mock InputOutput object correctly in test_architect_coder_auto_accept_true 2025-03-12 13:42:27 -07:00
Paul Gauthier (aider)
b5cd39cc50 fix: Add mock for confirm_ask method in test_architect_coder_auto_accept_true 2025-03-12 13:41:39 -07:00
Paul Gauthier (aider)
63c2a98f3c fix: Add missing summarizer mock to ArchitectCoder tests 2025-03-12 13:41:10 -07:00
Paul Gauthier (aider)
c168f78a13 fix: Initialize cur_messages and done_messages in ArchitectCoder test cases 2025-03-12 13:40:15 -07:00
Paul Gauthier (aider)
42d45b4037 fix: Remove unused import of ANY from unittest.mock 2025-03-12 13:39:42 -07:00
Paul Gauthier (aider)
c41df63629 style: Reorder imports and fix whitespace in test_coder.py 2025-03-12 13:38:48 -07:00
Paul Gauthier (aider)
330bb81206 test: Add tests for auto_accept_architect feature in ArchitectCoder 2025-03-12 13:38:41 -07:00
Paul Gauthier
249ca4fd75 remove useless tests 2025-02-07 08:51:20 -08:00
Paul Gauthier (aider)
d382869b98 style: Apply linter formatting to test_coder.py 2025-02-07 08:47:39 -08:00
Paul Gauthier (aider)
41a3c27aba feat: Update system prompt prefix tests to check first line 2025-02-07 08:47:33 -08:00