From 2c85cba9ca49d2393907e7bd417927992106878c Mon Sep 17 00:00:00 2001 From: "Yagnesh M. Bhadiyadra" <35532869+yagneshmb@users.noreply.github.com> Date: Mon, 21 Jul 2025 02:28:37 +0530 Subject: [PATCH] fix(docs): Change of condition arguments in Command API example for ease of reading. (#5571) --- docs/docs/how-tos/graph-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/how-tos/graph-api.md b/docs/docs/how-tos/graph-api.md index 64bdf389b..f6aba2698 100644 --- a/docs/docs/how-tos/graph-api.md +++ b/docs/docs/how-tos/graph-api.md @@ -1566,9 +1566,9 @@ class State(TypedDict): def node_a(state: State) -> Command[Literal["node_b", "node_c"]]: print("Called A") - value = random.choice(["a", "b"]) + value = random.choice(["b", "c"]) # this is a replacement for a conditional edge function - if value == "a": + if value == "b": goto = "node_b" else: goto = "node_c"