Skip to content

Commit

Permalink
use interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Jan 9, 2025
1 parent 93edab7 commit cb1b10f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agixt/endpoints/GQL.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb1b10f

Please sign in to comment.