You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous logic iterated through session events in reverse and then
reversed the resulting list of parts. This caused incorrect ordering for
multi-part messages generated by `_present_other_agent_message`.
Specifically, introductory text like "For context:" was appearing after
the content it was meant to introduce.
This change simplifies the implementation by removing both reversals. It now
processes events in chronological order, ensuring all message parts are
appended in the correct sequence.
Signed-off-by: Eran Cohen <[email protected]>
0 commit comments