Updated tests and additional tests for folder expansion during conversation tracking

This commit is contained in:
Fahad
2025-06-15 16:03:43 +04:00
parent d36a85a3f3
commit 07a078b4f2
12 changed files with 317 additions and 26 deletions

View File

@@ -224,7 +224,7 @@ class TestLargePromptHandling:
# Mock the centralized file preparation method to avoid file system access
with patch.object(tool, "_prepare_file_content_for_prompt") as mock_prepare_files:
mock_prepare_files.return_value = "File content"
mock_prepare_files.return_value = ("File content", [other_file])
await tool.execute({"prompt": "", "files": [temp_prompt_file, other_file]})