🚧 Update topic explorer

This commit is contained in:
Jonas Bengtsson
2026-09-20 17:57:05 +02:00
parent 6385a27411
commit b8e7c14368
10 changed files with 1344 additions and 3888 deletions
+4 -1
View File
@@ -116,7 +116,10 @@ async def stream(session_id: str, user: OperatorRole):
raise HTTPException(status.HTTP_404_NOT_FOUND, "session not found") from exc
async def event_stream():
index = 0
# Start BELOW the first index: messages_since uses strictly-
# greater semantics, and a fresh session's first message has
# index 0 — a cursor starting at 0 would drop it.
index = -1
heartbeat = 0.0
try:
while True: