Chrylo
04/14/2026, 9:11 AMAnastasiia Zarechneva
04/14/2026, 10:19 AMSYSTEM - USER - ASSISTANT a classic order in a usual situation. However, in this very case, as assistant type of message holds the TLDR summary, I'd say it's okay to have it before the system message. In Koog there's no strict message order.
When manually restoring the messages from previous session, I'd personally choose the following order:
1. SYSTEM
2. USER: initial task / original goal
3. ASSISTANT: TLDR of previous session
4. USER: current new request
But this is what makes sense to me 😅 , so I guess there are multiple options depending on the task and context.