Skip to content

fix: fixing get_last_k_turns to return most recent turns#29

Closed
ShreyP88 wants to merge 1 commit intoaws:mainfrom
ShreyP88:pantss/fixGetKLastTurns
Closed

fix: fixing get_last_k_turns to return most recent turns#29
ShreyP88 wants to merge 1 commit intoaws:mainfrom
ShreyP88:pantss/fixGetKLastTurns

Conversation

@ShreyP88
Copy link
Contributor

Issue #, if available:

Description of changes: Currently the get_last_k_turns function is returning the k oldest events as ListEvents by default returns events in reverse-chronological order. This small change will make it so we get the k most recent turns as desired.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Shreyas Pant <69047353+ShreyP88@users.noreply.github.com>
@ShreyP88 ShreyP88 closed this Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant