Skip to content

Commit

Permalink
return ID instead of timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
vcidst committed Mar 1, 2024
1 parent a0a9571 commit 4c68dac
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)
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 4c68dac

Please sign in to comment.