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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| assistants.py | ||
| client.py | ||
| cron.py | ||
| http.py | ||
| runs.py | ||
| store.py | ||
| stream.py | ||
| threads.py | ||