docs(langgraph):Correct variable name in context.md (#6022)

Ensures the variable name used in the documentation accurately reflects
the codebase.
This commit is contained in:
xindoo
2025-09-08 20:54:42 +00:00
committed by GitHub
parent 1539a55d2c
commit 788b62c0fb
+1 -1
View File
@@ -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
...
```