Fix expert related files reading.

This commit is contained in:
user 2024-12-23 12:46:28 -05:00
parent 9a283f3f43
commit 12843978b7
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def ask_expert(question: str) -> str:
global expert_context global expert_context
# Get all content first # Get all content first
file_paths = expert_context['files'] + list(get_related_files()) file_paths = list(_global_memory['related_files'].values())
related_contents = read_related_files(file_paths) related_contents = read_related_files(file_paths)
key_snippets = get_memory_value('key_snippets') key_snippets = get_memory_value('key_snippets')
key_facts = get_memory_value('key_facts') key_facts = get_memory_value('key_facts')