From cb1b10f3e51fce31e1463f716c08842ee996ff5c Mon Sep 17 00:00:00 2001 From: Josh XT Date: Thu, 9 Jan 2025 17:06:28 -0500 Subject: [PATCH] use interactions --- agixt/endpoints/GQL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agixt/endpoints/GQL.py b/agixt/endpoints/GQL.py index 009af1cce002..ad79b86c1e3e 100644 --- a/agixt/endpoints/GQL.py +++ b/agixt/endpoints/GQL.py @@ -1525,7 +1525,7 @@ async def get_app_state(): updated_by=msg["updated_by"], feedback_received=msg["feedback_received"], ) - for msg in history_result + for msg in history_result["interactions"] ] current_conversation = ConversationDetail( @@ -1796,7 +1796,7 @@ async def conversation( updated_by=msg["updated_by"], feedback_received=msg["feedback_received"], ) - for msg in history_result + for msg in history_result["interactions"] ] # Apply pagination if provided