fix: persist AgentCore session ID on chat_id SSE event, not post-stream

↗ view on GitHub · Jason Lee · 2026-05-08 · af04dc99

Previously saved after stream completed - tab-close mid-stream lost the
session ID. Now fires immediately when the chat_id event arrives (first
SSE event, before AgentCore runs) so any interruption still persists it.
Repository dropthejase/louis
Author Jason Lee <12leeejk2@gmail.com>
Authored
Parents 40c1e3ad
Stats 1 file changed , +11 , -13
Part of AgentCore conversation persistence via S3 (not SessionManager)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-af04dc99.md from inside the repo you want the change in.

⬇ Download capture-commit-af04dc99.md