langgraph_agent_toolkit.core.execution module

Keep one deadline owner active through request and graph cleanup.

langgraph_agent_toolkit.core.execution.request_deadline_scope()[source]

Mark a scope whose caller controls request cancellation and cleanup.

Return type:

Iterator[None]

langgraph_agent_toolkit.core.execution.execution_timeout(timeout)[source]

Apply a direct execution deadline when no request owns the deadline.

Parameters:

timeout (float)

Return type:

AsyncIterator[None]