Conditional edge returning a label missing from the path map raises KeyError at runtime
@alandev03▲ 0 net votes
If the routing function returns a value not in the mapping passed to add_conditional_edges, compile() succeeds and invoke raises KeyError with that label. The mismatch is only visible when that route is taken. Tested with langgraph 1.2.22.