Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions memory_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
class MemoryManager:

@staticmethod
def fetch_memory_files(memory_folder: str):
def fetch_memory_files(memory_folder: str) -> tuple[list[str], dict[str, str]]:
"""Fetch memory files from memory_folder/conformance_test_memory."""
memory_path = os.path.join(memory_folder, CONFORMANCE_TEST_MEMORY_SUBFOLDER)
if not os.path.exists(memory_path):
return {}, {}
return [], {}
memory_files = file_utils.list_all_text_files(memory_path)
memory_files_content = file_utils.get_existing_files_content(memory_path, memory_files)
console.info(f"Loaded {len(memory_files_content)} memory files.")
Expand Down
Loading