Files
langgraph/libs
Elior Nataf Lackritz e901fc1746 fix(sdk-py): restart the lifecycle watcher when run.start creates the thread
An explicit thread_id can name a thread that run.start is about to create.
Under custom auth its lifecycle stream gets a 404 first, which stopped the
watcher for good, so thread.output raised that 404 after a successful run.
run.start now starts a fresh watcher and run result when the watcher has
stopped, and a 404 on a stream opened before run.start gets one more try
once a run has started.

Also reports the last error frame when lifecycle reconnects run out, and
checks the stream error types with isinstance instead of getattr.
2026-10-16 13:37:35 -04:00
..
2026-10-14 17:07:39 +01:00