This commit is contained in:
Timothy Jaeryang Baek
2025-02-03 18:36:49 -08:00
parent aa7184ae0d
commit 8fdd3024f7
3 changed files with 31 additions and 39 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ def get_message_list(messages, message_id):
current_message = messages.get(message_id)
if not current_message:
return f"Message ID {message_id} not found in the history."
return None
# Reconstruct the chain by following the parentId links
message_list = []