Skip to content

Commit

Permalink
order events by ID
Browse files Browse the repository at this point in the history
  • Loading branch information
vcidst committed Mar 4, 2024
1 parent d72db8a commit 90c25b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa/core/tracker_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ def _event_query(
)
)

return event_query.order_by(self.SQLEvent.timestamp, self.SQLEvent.id)
return event_query.order_by(self.SQLEvent.id)

async def save(self, tracker: DialogueStateTracker) -> None:
"""Update database with events from the current conversation."""
Expand Down

0 comments on commit 90c25b4

Please sign in to comment.