Skip to content

Commit

Permalink
sort observer_cruise_thoughts by created_at by default
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Dec 17, 2024
1 parent 1cd472c commit 24597e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skyvern/forge/sdk/db/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,7 @@ async def get_observer_cruise_thoughts(
select(ObserverThoughtModel)
.filter_by(observer_cruise_id=observer_cruise_id)
.filter_by(organization_id=organization_id)
.order_by(ObserverThoughtModel.created_at)
)
).all()
return [ObserverThought.model_validate(thought) for thought in observer_thoughts]
Expand Down

0 comments on commit 24597e7

Please sign in to comment.