langgraph/libs/sdk-py/langgraph_sdk/_sync
Elior Nataf Lackritz 2643345bfc
feat(sdk-py): add strict_resume to runs.create, stream and wait (#9599)
Adds a keyword-only `strict_resume` parameter to `client.runs.create`,
`stream` and `wait`, in the async and sync clients.

With `strict_resume=True`, a resume that answers an interrupt that isn't
waiting (answered in another tab, or a wrong id) is refused instead of
ignored: the run fails with `UnknownInterruptError` and the thread stays
as it was. The check is langgraph's strict resume mode (#9574).

The parameter is sent only when set, and only on thread runs: the
stateless overloads leave it out. A server that doesn't support it
ignores the field.
2026-11-05 11:15:21 -05:00
..
__init__.py chore: Re-organize client files. (#6787) 2026-02-12 17:22:59 -05:00
assistants.py fix(sdk-py): percent-encode caller-supplied identifiers in URL paths (#7893) 2026-05-22 12:51:37 -04:00
client.py chore(deps): bump ty from 0.0.23 to 0.0.33 in /libs/sdk-py (#7666) 2026-05-07 08:21:49 -04:00
cron.py fix(sdk-py): support clearing cron end_time via update(end_time=None) (#8334) 2026-07-14 11:09:58 -04:00
http.py fix(sdk-py): rejoin a run stream that closes before the run ends (#9554) 2026-11-02 19:57:22 +00:00
runs.py feat(sdk-py): add strict_resume to runs.create, stream and wait (#9599) 2026-11-05 11:15:21 -05:00
store.py chore(deps): bump the all-dependencies group across 1 directory with 3 updates (#7072) 2026-03-09 21:42:29 -04:00
stream.py fix(sdk-py): surface thread stream errors and stop retrying a rejected stream (#9317) 2026-10-16 15:29:34 -04:00
threads.py feat(sdk-py): add select to threads.get_state and get_history (#9568) 2026-11-03 23:30:34 -05:00