[PR #6159] fix: Handle SSE stream reconnection in Python SDK #4876

Closed
opened 2026-02-20 17:50:53 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/6159

State: closed
Merged: Yes


Summary

  • add a public accessor for the last received SSE event id
  • retry async and sync SSE streams using the Location reconnect path and Last-Event-ID while skipping empty events
  • add regression tests that simulate interrupted SSE streams for both async and sync clients

Testing

  • make format
  • make lint
  • make test

https://chatgpt.com/codex/tasks/task_e_68ca8bfa26cc832d98bcb359884962ec

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6159 **State:** closed **Merged:** Yes --- ## Summary - add a public accessor for the last received SSE event id - retry async and sync SSE streams using the Location reconnect path and Last-Event-ID while skipping empty events - add regression tests that simulate interrupted SSE streams for both async and sync clients ## Testing - make format - make lint - make test ------ https://chatgpt.com/codex/tasks/task_e_68ca8bfa26cc832d98bcb359884962ec
yindo added the pull-request label 2026-02-20 17:50:53 -05:00
yindo closed this issue 2026-02-20 17:50:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#4876