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"