diff --git a/libs/langgraph/langgraph/errors.py b/libs/langgraph/langgraph/errors.py index ad3150942..08bed5927 100644 --- a/libs/langgraph/langgraph/errors.py +++ b/libs/langgraph/langgraph/errors.py @@ -32,7 +32,7 @@ class InvalidUpdateError(Exception): class GraphInterrupt(Exception): - """Raised when a subgraph is interrupted, supressed by the root graph. + """Raised when a subgraph is interrupted, suppressed by the root graph. Never raised directly, or surfaced to the user.""" def __init__(self, interrupts: Sequence[Interrupt] = ()) -> None: diff --git a/libs/langgraph/langgraph/pregel/runner.py b/libs/langgraph/langgraph/pregel/runner.py index 32bbf74bd..6ba72e6ad 100644 --- a/libs/langgraph/langgraph/pregel/runner.py +++ b/libs/langgraph/langgraph/pregel/runner.py @@ -22,7 +22,7 @@ from langgraph.pregel.types import PregelExecutableTask, RetryPolicy class PregelRunner: - """Responsible for executing a set of Pregel tasks concurrently, commiting + """Responsible for executing a set of Pregel tasks concurrently, committing their writes, yielding control to caller when there is output to emit, and interrupting other tasks if appropriate."""