pub(crate) fn start_fresh_panes(
state: &AppState,
def_id: &str,
message: &str,
) -> (u32, Vec<String>)Expand description
Starts the fresh sessions of a model change. A running pane ends its session when its turn ends and starts the new one
with message, on the model the agent is set to now; a pane with no controller (a stopped agent) forgets the session
it would resume, so its next start begins a new one. Returns how many panes will start fresh, and what could not.