Skip to content

Conversation

@milkmeat
Copy link

Why are these changes needed?

When "keep_first_message" is false, sometimes the truncated message list is in wrong order.
This fix inserts messages are in correct order,

Related issue number

#3178 (comment)

Checks

@ekzhu ekzhu linked an issue Dec 12, 2024 that may be closed by this pull request
Copy link
Contributor

@ekzhu ekzhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. @WaelKarkoub FYI

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.

MessageHistoryLimiter bug leading to incorrect order

2 participants