Open
Description
Question
I noticed @agent.system_prompt
creates another role:system message - meaning you could end up with several, depending on how many dynamic pieces you define.
I don't think this is documented anywhere explicitly, and I actually can't find a good source saying whether models (or which models) are able to reliably capture all these system messages if they are separate.
In addition, I'm across several pieces of code/issues that implicitly rely on the fact* that there would be a single system message that appears first, or not at all.