problem history
[llama-server] Agent history ending with assistant turn: "Cannot continue an assistant message that contains tool calls." / "Cannot have 2 or more assistant messages at the end of the list."
Revision reasons are not recorded in this slice.