pub fn append_marker(
messages: &mut Vec<Arc<Value>>,
reason: InterruptReason,
) -> boolExpand description
Append the marker for reason unless the history already ends with a
marker (a second interruption with no turn in between records nothing
new). Returns whether a message was appended.