Session(session_id=...) reconnection that sends a follow-up message and streams the reply.
You’ll end up with. Confirmation that the session resumed and a streamed answer continuing the prior conversation.
Demonstrates resuming an existing session using just the session_id.
No agent or chatbot object needed — just the session ID and a message.
Expected output
session.session_id from a prior run (or from agent.run(..., keep_alive=True).session_id) and feed it back in.
See also
Conversational agent run
Where
keep_alive=True produces a resumable session_id.Terminating a session
Once terminated, resume fails — see what that looks like.
Session reference
Session(session_id=...) and connection helpers.