Merge pull request #1772 from langchain-ai/jacob/nit

fix: Use imported constant for namespace end
This commit is contained in:
Nuno Campos
2024-09-20 09:21:18 -07:00
committed by GitHub
+2 -1
View File
@@ -35,6 +35,7 @@ from langgraph.constants import (
CONFIG_KEY_TASK_ID,
INTERRUPT,
NO_WRITES,
NS_END,
NS_SEP,
PULL,
PUSH,
@@ -487,7 +488,7 @@ def prepare_single_task(
PULL,
*triggers,
)
task_checkpoint_ns = f"{checkpoint_ns}:{task_id}"
task_checkpoint_ns = f"{checkpoint_ns}{NS_END}{task_id}"
metadata = {
"langgraph_step": step,
"langgraph_node": name,