diff --git a/libs/langgraph/langgraph/pregel/algo.py b/libs/langgraph/langgraph/pregel/algo.py index 33c3bf2bb..e6da80020 100644 --- a/libs/langgraph/langgraph/pregel/algo.py +++ b/libs/langgraph/langgraph/pregel/algo.py @@ -1069,7 +1069,7 @@ def _proc_input( return MISSING else: raise RuntimeError( - "Invalid channels type, expected list or dict, got {proc.channels}" + f"Invalid channels type, expected list or dict, got {proc.channels}" ) # If the process has a mapper, apply it to the value