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