pub async fn agent_loop_continue(
context: &mut AgentContext,
config: &AgentLoopConfig,
tx: UnboundedSender<AgentEvent>,
cancel: CancellationToken,
) -> Vec<AgentMessage>Expand description
Resume an agent loop from existing context without new prompts.
Use for retries, session branching, or re-runs from a specific point. The context must be
non-empty and must not end with an assistant message. New follow-up/steering messages can
be injected via config.get_follow_up_messages / config.get_steering_messages.
Returns only the messages produced by this continuation call.