From 788b62c0fb17e8b34ae8fe32cb75d48da61d6fd9 Mon Sep 17 00:00:00 2001 From: xindoo Date: Tue, 9 Sep 2025 04:54:42 +0800 Subject: [PATCH] docs(langgraph):Correct variable name in context.md (#6022) Ensures the variable name used in the documentation accurately reflects the codebase. --- docs/docs/agents/context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/agents/context.md b/docs/docs/agents/context.md index 5aa71a608..942e7d628 100644 --- a/docs/docs/agents/context.md +++ b/docs/docs/agents/context.md @@ -90,7 +90,7 @@ graph.invoke( # (1)! from langgraph.runtime import Runtime # highlight-next-line - def node(state: State, config: Runtime[ContextSchema]): + def node(state: State, runtime: Runtime[ContextSchema]): user_name = runtime.context.user_name ... ```