I was inserting system messages throughout a conversation, but I noticed that sometimes the prompt caching breaks, or that the system messages end up at the beginning of the conversation even though I had placed them where I wanted.
Does anyone know why this is happening? I'd like to know if this is standard behavior for a specific type of chat template or something similar that certain providers have implemented.